Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 99.03 kB / 17 MB, free: 6.398 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.001018/0.001018, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.515/1.515, allocations: 223.3 MB / 241.9 MB, free: 332 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.2176/0.2176, allocations: 44.26 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 61.94 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002271/0.1585, allocations: 1.325 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.1594, allocations: 419.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.1595, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.1602, allocations: 435.2 kB / 473.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1606, allocations: 247.4 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.161, allocations: 155.2 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.1613, allocations: 135.7 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1614, allocations: 19.98 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1615, allocations: 103.7 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.1617, allocations: 167.7 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1618, allocations: 0 / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1619, allocations: 39.98 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.162, allocations: 91.67 kB / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.1621, allocations: 61.52 kB / 474.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1624, allocations: 196 kB / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1624, allocations: 0 / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1624, allocations: 0 / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1624, allocations: 0 / 475 MB, free: 10.34 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.0007979/0.1632, allocations: 0.5932 MB / 475.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1632, allocations: 12.5 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.1633, allocations: 43.44 kB / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1636, allocations: 275.3 kB / 475.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1636, allocations: 15.98 kB / 475.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1637, allocations: 3.984 kB / 475.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1639, allocations: 61.64 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1639, allocations: 3.938 kB / 476 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1639, allocations: 3.984 kB / 476 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1639, allocations: 4 kB / 476 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.164, allocations: 35.92 kB / 476 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.1646, allocations: 408.6 kB / 476.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1647, allocations: 50.59 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1648, allocations: 20.94 kB / 476.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1648, allocations: 8 kB / 476.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1649, allocations: 30.56 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1649, allocations: 0 / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009912/0.1659, allocations: 351.7 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1659, allocations: 55.41 kB / 476.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.1669, allocations: 0.8574 MB / 477.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1669, allocations: 29.7 kB / 477.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.1671, allocations: 224 kB / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.1672, allocations: 27.55 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.1672, allocations: 4 kB / 478 MB, free: 7.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1674, allocations: 354.8 kB / 478.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.1675, allocations: 39.97 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.1676, allocations: 39.92 kB / 478.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.1677, allocations: 44.19 kB / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1677, allocations: 0 / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002756/0.168, allocations: 153.2 kB / 478.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.168, allocations: 8 kB / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.168, allocations: 0 / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.168, allocations: 0 / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1682, allocations: 19.98 kB / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1682, allocations: 0 / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.1682, allocations: 8 kB / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1683, allocations: 15.89 kB / 478.7 MB, free: 6.367 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.1685, allocations: 217.7 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.1686, allocations: 43.44 kB / 479 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.1689, allocations: 177.4 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.169, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.169, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.169, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.1697, allocations: 0.5303 MB / 479.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1697, allocations: 0 / 479.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.1698, allocations: 24.34 kB / 479.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1698, allocations: 0 / 479.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1698, allocations: 4 kB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1698, allocations: 3.938 kB / 479.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1698, allocations: 3.953 kB / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.1701, allocations: 247.8 kB / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.1702, allocations: 116.6 kB / 480.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1702, allocations: 4 kB / 480.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.1703, allocations: 8 kB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.1704, allocations: 15.94 kB / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1704, allocations: 0 / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006731/0.1711, allocations: 0.6511 MB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1711, allocations: 3.938 kB / 480.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1714, allocations: 35.91 kB / 480.8 MB, free: 4.184 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.1725, allocations: 465.6 kB / 481.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1727, allocations: 75.95 kB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1728, allocations: 4 kB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/0.1729, allocations: 51.91 kB / 481.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1732, allocations: 32.52 kB / 481.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1744, allocations: 0.8622 MB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1749, allocations: 0.834 MB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.089e-05/0.175, allocations: 24.39 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.175, allocations: 15.44 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.175, allocations: 0 / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Templates: time 0.004987/0.18, allocations: 1.601 MB / 484.7 MB, free: 368 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches