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.001483/0.001483, allocations: 110.9 kB / 17.33 MB, free: 5.984 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.001516/0.001516, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.456/1.456, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2228/0.2228, allocations: 44.18 MB / 336.3 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 65.31 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1588, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003636/0.1625, allocations: 1.688 MB / 470.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.1634, allocations: 459.2 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.1635, allocations: 0 / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.1641, allocations: 455.1 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.1646, allocations: 247.6 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.1651, allocations: 154.9 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.1654, allocations: 175.6 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1656, allocations: 20 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1658, allocations: 111.8 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.1661, allocations: 223.6 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1661, allocations: 0 / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1662, allocations: 51.97 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1664, allocations: 87.62 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.1665, allocations: 107 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.1668, allocations: 271.2 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1669, allocations: 0 / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1669, allocations: 0 / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1669, allocations: 4 kB / 472.8 MB, free: 10.61 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.0009379/0.1678, allocations: 0.6414 MB / 473.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.1679, allocations: 12.03 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.168, allocations: 38.69 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.1681, allocations: 44.38 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1684, allocations: 300.2 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1684, allocations: 4.312 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1685, allocations: 8.281 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1687, allocations: 69.55 kB / 473.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1687, allocations: 0 / 473.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1687, allocations: 0 / 473.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1687, allocations: 8 kB / 473.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1688, allocations: 31.97 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.1695, allocations: 408.5 kB / 474.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1696, allocations: 50.55 kB / 474.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.1697, allocations: 16.86 kB / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1697, allocations: 0 / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1697, allocations: 38.64 kB / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1697, allocations: 0 / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001189/0.1709, allocations: 323.9 kB / 474.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.171, allocations: 55.34 kB / 474.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.172, allocations: 0.8652 MB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1721, allocations: 29.7 kB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.1723, allocations: 228 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.1723, allocations: 19.66 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.1724, allocations: 25.7 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1726, allocations: 362.8 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.1727, allocations: 35.97 kB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.872e-05/0.1728, allocations: 27.98 kB / 476.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.173, allocations: 72.81 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.173, allocations: 0 / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003115/0.1733, allocations: 145 kB / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1734, allocations: 10.5 kB / 476.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1734, allocations: 0 / 476.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.1734, allocations: 4 kB / 476.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1735, allocations: 23.92 kB / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1736, allocations: 0 / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.1736, allocations: 4 kB / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1737, allocations: 11.92 kB / 476.7 MB, free: 6.512 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.0002805/0.174, allocations: 209.8 kB / 476.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.9e-05/0.174, allocations: 47.86 kB / 476.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.1745, allocations: 181.7 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1745, allocations: 7.875 kB / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1745, allocations: 0 / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1745, allocations: 3.984 kB / 477.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008434/0.1754, allocations: 0.5226 MB / 477.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1754, allocations: 0 / 477.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1755, allocations: 15.98 kB / 477.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1755, allocations: 0 / 477.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1755, allocations: 8 kB / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1755, allocations: 0 / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1755, allocations: 0 / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1759, allocations: 251.7 kB / 477.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.1759, allocations: 116.5 kB / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.176, allocations: 4 kB / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.1761, allocations: 8 kB / 478 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1761, allocations: 7.984 kB / 478 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1761, allocations: 0 / 478 MB, free: 5.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006354/0.1768, allocations: 0.6589 MB / 478.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1768, allocations: 0 / 478.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1771, allocations: 32 kB / 478.7 MB, free: 4.34 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.001691/0.1788, allocations: 1.134 MB / 479.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.1791, allocations: 83.88 kB / 480 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1791, allocations: 4 kB / 480 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.827e-05/0.1792, allocations: 36.14 kB / 480 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.1797, allocations: 30.11 kB / 480 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.1841, allocations: 3.464 MB / 483.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.1847, allocations: 0.8337 MB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.1848, allocations: 16.42 kB / 484.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.185, allocations: 119.4 kB / 484.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.397e-06/0.185, allocations: 4.109 kB / 484.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.2036, allocations: 6.134 MB / 490.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.2038, allocations: 236.8 kB / 490.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.084, allocations: 0 / 490.8 MB, free: 8.363 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches