Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000779/0.0007792, allocations: 91.05 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008592/0.0008594, allocations: 179.7 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1945/0.1945, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 10.16 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 61.92 MB / 472.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002174/0.1172, allocations: 1.344 MB / 473.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.118, allocations: 439.3 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.1181, allocations: 8 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.1187, allocations: 447.2 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.119, allocations: 247.5 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.1195, allocations: 159.2 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1197, allocations: 163.7 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1198, allocations: 20 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1199, allocations: 107.7 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1202, allocations: 195.6 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1202, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1203, allocations: 51.91 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1204, allocations: 83.64 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1205, allocations: 132.7 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1208, allocations: 263.2 kB / 476 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1209, allocations: 7.938 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1209, allocations: 0 / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1209, allocations: 0 / 476 MB, free: 9.586 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007076/0.1216, allocations: 0.5873 MB / 476.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1216, allocations: 12.03 kB / 476.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.1217, allocations: 38.69 kB / 476.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.1218, allocations: 48.31 kB / 476.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.1221, allocations: 300.1 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1221, allocations: 8.375 kB / 477 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1221, allocations: 4.375 kB / 477 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1223, allocations: 65.61 kB / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1224, allocations: 0 / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1224, allocations: 3.938 kB / 477 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1224, allocations: 4 kB / 477 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1225, allocations: 31.98 kB / 477.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.1231, allocations: 420.5 kB / 477.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1232, allocations: 54.58 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1233, allocations: 12.86 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1233, allocations: 8 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1234, allocations: 34.56 kB / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1234, allocations: 0 / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001081/0.1244, allocations: 343.9 kB / 477.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1245, allocations: 59.34 kB / 478 MB, free: 7.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1255, allocations: 0.8652 MB / 478.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1256, allocations: 33.7 kB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.1258, allocations: 220.1 kB / 479.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1258, allocations: 31.5 kB / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.1259, allocations: 13.72 kB / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1261, allocations: 362.8 kB / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.1262, allocations: 39.97 kB / 479.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.1263, allocations: 31.98 kB / 479.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.1265, allocations: 89.02 kB / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-05/0.1265, allocations: 8 kB / 479.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002483/0.1268, allocations: 149.1 kB / 479.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1268, allocations: 4 kB / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1268, allocations: 0 / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1269, allocations: 3.938 kB / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.127, allocations: 27.86 kB / 479.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.127, allocations: 8 kB / 479.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.127, allocations: 4 kB / 479.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1271, allocations: 0 / 479.8 MB, free: 5.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.1273, allocations: 225.7 kB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.1273, allocations: 43.44 kB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.1277, allocations: 181.5 kB / 480.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1277, allocations: 7.875 kB / 480.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1277, allocations: 0 / 480.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1277, allocations: 432 / 480.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.1284, allocations: 0.5304 MB / 480.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1284, allocations: 0 / 480.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.1285, allocations: 16 kB / 480.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1285, allocations: 4 kB / 480.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1285, allocations: 3.984 kB / 480.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1286, allocations: 0 / 480.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1286, allocations: 4.031 kB / 480.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.1289, allocations: 263.7 kB / 481.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.129, allocations: 120.5 kB / 481.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.129, allocations: 4 kB / 481.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.1291, allocations: 4 kB / 481.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1291, allocations: 7.984 kB / 481.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1291, allocations: 4 kB / 481.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006256/0.1298, allocations: 0.6589 MB / 481.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1298, allocations: 0 / 481.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.13, allocations: 28 kB / 481.9 MB, free: 3.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/0.1316, allocations: 1.149 MB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.1318, allocations: 75.95 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1318, allocations: 8 kB / 483.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1319, allocations: 47.91 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1323, allocations: 33.27 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.1362, allocations: 3.483 MB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1366, allocations: 0.8302 MB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.169e-05/0.1367, allocations: 28.7 kB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1368, allocations: 111.4 kB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1368, allocations: 0 / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.1528, allocations: 5.788 MB / 493.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.153, allocations: 246.5 kB / 493.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.01, allocations: 0 / 493.7 MB, free: 7.594 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches