Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 96.59 kB / 16.98 MB, free: 5.938 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.00143/0.00143, allocations: 188.4 kB / 17.88 MB, free: 5.594 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.483/1.483, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2417/0.2417, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1662, allocations: 61.91 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00276/0.169, allocations: 1.461 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1717, allocations: 1.437 MB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1718, allocations: 7.938 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.1723, allocations: 43.77 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.1727, allocations: 71.83 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1732, allocations: 146.2 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.1735, allocations: 123.7 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.1736, allocations: 9.562 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1738, allocations: 71.67 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1741, allocations: 51.77 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1741, allocations: 4 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1742, allocations: 39.98 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.1743, allocations: 31.83 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.1744, allocations: 45.64 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1746, allocations: 124 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1746, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1746, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1746, allocations: 0 / 475.1 MB, free: 10.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007541/0.1754, allocations: 442.6 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1754, allocations: 8.031 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.1755, allocations: 15.81 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.1759, allocations: 242.7 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.176, allocations: 8 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.176, allocations: 4 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.1763, allocations: 97.05 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1763, allocations: 7.938 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1763, allocations: 3.984 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1763, allocations: 0 / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1764, allocations: 27.98 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.1767, allocations: 214.5 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.177, allocations: 105.3 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.1771, allocations: 20 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.1774, allocations: 113 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1774, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004661/0.1778, allocations: 161.4 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.178, allocations: 132.5 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1782, allocations: 215.8 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1783, allocations: 29.7 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.1783, allocations: 108.1 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1784, allocations: 27.7 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.1784, allocations: 4 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1786, allocations: 326.8 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.1786, allocations: 27.97 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1788, allocations: 71.77 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.21e-05/0.1789, allocations: 39.92 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1789, allocations: 0 / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002625/0.1791, allocations: 129.3 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1792, allocations: 12.05 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1792, allocations: 4 kB / 477.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1792, allocations: 0 / 477.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1793, allocations: 27.92 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1793, allocations: 3.938 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.1794, allocations: 20.55 kB / 477.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1795, allocations: 4 kB / 477.7 MB, free: 7.176 MB / 350.1 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.0001395/0.1796, allocations: 126.4 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1796, allocations: 19.81 kB / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1797, allocations: 28.94 kB / 477.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1797, allocations: 0 / 477.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.1797, allocations: 8 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1797, allocations: 0 / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.18, allocations: 221.5 kB / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.18, allocations: 0 / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.18, allocations: 4 kB / 478.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.18, allocations: 7.938 kB / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.18, allocations: 0 / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.18, allocations: 7.953 kB / 478.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.18, allocations: 4 kB / 478.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1803, allocations: 183.3 kB / 478.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.1804, allocations: 100.8 kB / 478.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.1805, allocations: 7.953 kB / 478.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.1806, allocations: 4 kB / 478.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1806, allocations: 15.98 kB / 478.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.1806, allocations: 4 kB / 478.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1808, allocations: 156.2 kB / 478.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1808, allocations: 0 / 478.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1811, allocations: 39.98 kB / 478.6 MB, free: 6.148 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: 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.001159/0.1822, allocations: 457.2 kB / 479.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.1825, allocations: 79.91 kB / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1825, allocations: 0 / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1826, allocations: 43.91 kB / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.183, allocations: 39.95 kB / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.1836, allocations: 279.2 kB / 479.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.1841, allocations: 0.7204 MB / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1842, allocations: 37.95 kB / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.1842, allocations: 27.42 kB / 480.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1842, allocations: 4 kB / 480.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Templates: time 0.006068/0.1903, allocations: 2.441 MB / 482.7 MB, free: 2.18 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches