Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.0007213/0.0007213, allocations: 94.55 kB / 17.35 MB, free: 6.344 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.0007948/0.0007949, allocations: 168.6 kB / 18.25 MB, free: 5.508 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.347/1.347, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.24 MB / 337.7 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001738/0.1215, allocations: 1.364 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.1222, allocations: 439.3 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.1223, allocations: 0 / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.1228, allocations: 455.1 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.123, allocations: 243.6 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1234, allocations: 158.7 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1236, allocations: 175.6 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.1237, allocations: 19.98 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.1238, allocations: 103.8 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.124, allocations: 211.5 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1241, allocations: 4 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.1242, allocations: 43.98 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.1243, allocations: 87.62 kB / 475.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.1243, allocations: 128.7 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1246, allocations: 267.2 kB / 476 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1246, allocations: 0 / 476 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1246, allocations: 7.875 kB / 476 MB, free: 9.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1246, allocations: 0 / 476 MB, free: 9.57 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.0005847/0.1252, allocations: 0.5989 MB / 476.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1253, allocations: 12.03 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.1253, allocations: 42.75 kB / 476.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.1253, allocations: 40.47 kB / 476.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1256, allocations: 304.1 kB / 477 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1256, allocations: 8.312 kB / 477 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1256, allocations: 4.375 kB / 477 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1258, allocations: 69.61 kB / 477.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1258, allocations: 0 / 477.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1258, allocations: 4 kB / 477.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1258, allocations: 4 kB / 477.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.126, allocations: 47.95 kB / 477.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.1264, allocations: 428.6 kB / 477.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.1267, allocations: 58.55 kB / 477.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.1268, allocations: 28.97 kB / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1268, allocations: 8.031 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1268, allocations: 46.55 kB / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1268, allocations: 0 / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001474/0.1283, allocations: 0.562 MB / 478.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1283, allocations: 51.41 kB / 478.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.1291, allocations: 0.8613 MB / 479.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1291, allocations: 25.7 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.1292, allocations: 216 kB / 479.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1293, allocations: 35.45 kB / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.1293, allocations: 17.72 kB / 479.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1294, allocations: 366.8 kB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1296, allocations: 55.97 kB / 479.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1297, allocations: 67.95 kB / 479.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.13, allocations: 140.7 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.13, allocations: 4 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003525/0.1304, allocations: 213 kB / 480.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1304, allocations: 8 kB / 480.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1304, allocations: 0 / 480.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1304, allocations: 3.938 kB / 480.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1305, allocations: 32.48 kB / 480.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1306, allocations: 3.984 kB / 480.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.1306, allocations: 23.92 kB / 480.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1307, allocations: 4 kB / 480.4 MB, free: 4.984 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 (11): * Single equations (assignments): 11 * 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.0001773/0.1308, allocations: 221.8 kB / 480.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.1309, allocations: 43.44 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.1314, allocations: 245.8 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.1314, allocations: 11.91 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1314, allocations: 0 / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1314, allocations: 0 / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.1322, allocations: 0.6132 MB / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1322, allocations: 0 / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1323, allocations: 39.97 kB / 481.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1323, allocations: 4 kB / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1323, allocations: 0 / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1323, allocations: 0 / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1323, allocations: 4 kB / 481.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.1327, allocations: 328.5 kB / 481.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.1328, allocations: 112.5 kB / 482 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1328, allocations: 4 kB / 482 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1329, allocations: 19.98 kB / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.133, allocations: 11.98 kB / 482 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.133, allocations: 4 kB / 482 MB, free: 3.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005449/0.1336, allocations: 0.6511 MB / 482.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1336, allocations: 0 / 482.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1338, allocations: 32 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001508/0.1353, allocations: 1.211 MB / 483.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.1357, allocations: 143.8 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1357, allocations: 4 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1359, allocations: 75.89 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1363, allocations: 29.95 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.1401, allocations: 3.672 MB / 487.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1405, allocations: 0.8341 MB / 488.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.825e-05/0.1406, allocations: 36.5 kB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1408, allocations: 123.4 kB / 488.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1408, allocations: 0 / 488.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.1589, allocations: 5.983 MB / 494.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.1591, allocations: 235.8 kB / 495 MB, free: 6.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.945, allocations: 0 / 495 MB, free: 6.309 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches