Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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 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 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 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008656, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 184.4 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3709/0.3709, allocations: 43.58 MB / 315 MB, free: 9.066 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005131, allocations: 15.98 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1673, allocations: 58.87 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002594/0.1699, allocations: 1.414 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1719, allocations: 0.773 MB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.1721, allocations: 3.938 kB / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.1726, allocations: 35.89 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.1729, allocations: 59.75 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.1734, allocations: 79.84 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1738, allocations: 107.7 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.174, allocations: 16.2 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1741, allocations: 43.78 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1743, allocations: 43.83 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1743, allocations: 4 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.1745, allocations: 43.98 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1746, allocations: 23.91 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1748, allocations: 61.39 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.1752, allocations: 127.8 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1752, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1752, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1752, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.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.0008855/0.1761, allocations: 403.1 kB / 446.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1762, allocations: 12.03 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.1763, allocations: 8.844 kB / 446.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.1767, allocations: 228.6 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.1767, allocations: 4.312 kB / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.1767, allocations: 8.125 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.1771, allocations: 69.66 kB / 447 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.1771, allocations: 0 / 447 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.1771, allocations: 0 / 447 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1771, allocations: 0 / 447 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.1773, allocations: 35.97 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.1779, allocations: 312.8 kB / 447.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1782, allocations: 82.59 kB / 447.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.1783, allocations: 24.86 kB / 447.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1784, allocations: 3.984 kB / 447.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.1786, allocations: 79.39 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.1786, allocations: 0 / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008152/0.1794, allocations: 229.1 kB / 447.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1795, allocations: 59.34 kB / 447.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1797, allocations: 179.3 kB / 448 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1797, allocations: 29.7 kB / 448 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1798, allocations: 108.1 kB / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.1799, allocations: 31.66 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.1799, allocations: 25.64 kB / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1801, allocations: 322.8 kB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.1802, allocations: 27.98 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.1803, allocations: 45.7 kB / 448.6 MB, free: 7.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1804, allocations: 81.64 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1804, allocations: 4 kB / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002239/0.1806, allocations: 121.5 kB / 448.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1807, allocations: 4 kB / 448.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1807, allocations: 0 / 448.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1807, allocations: 11.92 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1808, allocations: 19.98 kB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1808, allocations: 0 / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.1809, allocations: 11.94 kB / 448.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1809, allocations: 4 kB / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001214/0.181, allocations: 137.8 kB / 448.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1811, allocations: 15.81 kB / 449 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.1811, allocations: 13.41 kB / 449 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1812, allocations: 7.984 kB / 449 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1812, allocations: 0 / 449 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1812, allocations: 7.938 kB / 449 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.1818, allocations: 431.4 kB / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1818, allocations: 96 / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.1819, allocations: 19.88 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.1819, allocations: 3.938 kB / 449.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1819, allocations: 4 kB / 449.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1819, allocations: 0 / 449.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1819, allocations: 0 / 449.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1822, allocations: 232.2 kB / 449.7 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.1823, allocations: 93 kB / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1823, allocations: 3.938 kB / 449.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.1824, allocations: 4 kB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1824, allocations: 11.98 kB / 449.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1825, allocations: 4 kB / 449.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1826, allocations: 144.9 kB / 449.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.1826, allocations: 0 / 449.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1829, allocations: 28 kB / 450 MB, free: 6.027 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001203/0.1841, allocations: 465.8 kB / 450.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1844, allocations: 83.84 kB / 450.5 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1844, allocations: 4.062 kB / 450.5 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.1845, allocations: 39.92 kB / 450.5 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1848, allocations: 31.91 kB / 450.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.1854, allocations: 286 kB / 450.8 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1857, allocations: 0.7048 MB / 451.5 MB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.008e-05/0.1858, allocations: 21.06 kB / 451.6 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.1859, allocations: 23.42 kB / 451.6 MB, free: 4.367 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1859, allocations: 4 kB / 451.6 MB, free: 4.363 MB / 382.1 MB Notification: Performance of Templates: time 0.00515/0.191, allocations: 1.778 MB / 453.4 MB, free: 2.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches