Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00176/0.00176, allocations: 179.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008424/0.0008425, allocations: 82.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3477/0.3477, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1664, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003225/0.1697, allocations: 1.475 MB / 491.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.1731, allocations: 1.391 MB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1732, allocations: 0 / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1736, allocations: 43.83 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.1741, allocations: 67.67 kB / 493.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1747, allocations: 131.8 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1751, allocations: 159.5 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.1752, allocations: 17.48 kB / 493.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1754, allocations: 71.62 kB / 493.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.1757, allocations: 59.7 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1757, allocations: 4 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.176, allocations: 51.97 kB / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.1761, allocations: 23.91 kB / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.286e-05/0.1761, allocations: 49.58 kB / 493.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1765, allocations: 124 kB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1765, allocations: 7.938 kB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1765, allocations: 0 / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1765, allocations: 0 / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008803/0.1774, allocations: 442.7 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.1775, allocations: 16.02 kB / 494.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.1776, allocations: 15.81 kB / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.1781, allocations: 234.7 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.1781, allocations: 4 kB / 494.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1781, allocations: 4 kB / 494.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1785, allocations: 101 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1785, allocations: 0 / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1785, allocations: 0 / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1785, allocations: 3.953 kB / 494.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1787, allocations: 35.91 kB / 494.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.1791, allocations: 218.5 kB / 495 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.1796, allocations: 105.2 kB / 495.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1798, allocations: 45.69 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1799, allocations: 4 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.1803, allocations: 112.9 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.1803, allocations: 0 / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006814/0.181, allocations: 165.8 kB / 495.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.1811, allocations: 140.4 kB / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.1814, allocations: 207.8 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.1815, allocations: 29.7 kB / 495.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1816, allocations: 112.1 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.1817, allocations: 27.7 kB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.1817, allocations: 0 / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1819, allocations: 326.8 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1821, allocations: 35.98 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.1823, allocations: 69.12 kB / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1825, allocations: 36.05 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1825, allocations: 0 / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000482/0.183, allocations: 137.4 kB / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.183, allocations: 4 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1831, allocations: 0 / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1831, allocations: 4 kB / 496.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1833, allocations: 23.98 kB / 496.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.1833, allocations: 7.953 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.1835, allocations: 11.84 kB / 496.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1835, allocations: 7.984 kB / 496.5 MB, free: 4.582 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001842/0.1837, allocations: 133.8 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.1838, allocations: 15.81 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.64e-05/0.1839, allocations: 20.98 kB / 496.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1839, allocations: 4 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.1839, allocations: 0 / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.1839, allocations: 7.891 kB / 496.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.1842, allocations: 217.6 kB / 496.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1842, allocations: 0 / 496.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.1843, allocations: 8 kB / 496.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1843, allocations: 0 / 496.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1844, allocations: 8 kB / 496.9 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1844, allocations: 0 / 496.9 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1844, allocations: 0 / 496.9 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.1849, allocations: 177.6 kB / 497.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1851, allocations: 105 kB / 497.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.1851, allocations: 4 kB / 497.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1853, allocations: 8 kB / 497.2 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1854, allocations: 15.92 kB / 497.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1854, allocations: 4 kB / 497.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.1857, allocations: 165.5 kB / 497.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1857, allocations: 0 / 497.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.1862, allocations: 35.95 kB / 497.4 MB, free: 3.574 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001594/0.1878, allocations: 468.4 kB / 497.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.1882, allocations: 79.91 kB / 498 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1883, allocations: 0 / 498 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.1885, allocations: 39.92 kB / 498 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.1891, allocations: 47.89 kB / 498.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.1899, allocations: 320.8 kB / 498.4 MB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1903, allocations: 0.7127 MB / 499.1 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.1904, allocations: 23.42 kB / 499.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1905, allocations: 0 / 499.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of Templates: time 0.1885/0.379, allocations: 2.688 MB / 0.49 GB, free: 42.81 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches