Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 102.7 kB / 16.27 MB, free: 5.98 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.001287/0.001288, allocations: 188.5 kB / 17.2 MB, free: 5.613 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.516/1.516, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2566/0.2566, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001935/0.001936, allocations: 66.22 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1539, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004507/0.1585, allocations: 1.845 MB / 442.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.16, allocations: 0.8974 MB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1602, allocations: 4 kB / 443.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.1608, allocations: 255.4 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.1611, allocations: 183.4 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1614, allocations: 151.3 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1617, allocations: 227.5 kB / 444.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1618, allocations: 25.83 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.162, allocations: 127.5 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1621, allocations: 175.5 kB / 444.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1622, allocations: 12 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1623, allocations: 55.91 kB / 444.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.1624, allocations: 51.78 kB / 444.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.1624, allocations: 83.34 kB / 444.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.1627, allocations: 223.1 kB / 444.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1627, allocations: 4 kB / 444.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1627, allocations: 0 / 444.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1627, allocations: 0 / 444.8 MB, free: 2.609 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006772/0.1634, allocations: 0.5563 MB / 445.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1635, allocations: 15.89 kB / 445.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.1635, allocations: 28.56 kB / 445.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1638, allocations: 288 kB / 445.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1638, allocations: 4.312 kB / 445.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.1639, allocations: 12.11 kB / 445.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.1641, allocations: 99.3 kB / 445.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1641, allocations: 0 / 445.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1641, allocations: 4 kB / 445.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1641, allocations: 8 kB / 445.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1643, allocations: 35.97 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1647, allocations: 456.8 kB / 446.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1649, allocations: 117.3 kB / 446.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.165, allocations: 45.64 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1651, allocations: 3.984 kB / 446.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.1653, allocations: 109.1 kB / 446.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1653, allocations: 0 / 446.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007816/0.1661, allocations: 380.4 kB / 446.9 MB, free: 284 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1662, allocations: 85.05 kB / 447 MB, free: 180 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.1666, allocations: 477.7 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1667, allocations: 33.7 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1668, allocations: 164.3 kB / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.1669, allocations: 55.28 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.1669, allocations: 33.72 kB / 447.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.1672, allocations: 342.8 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1673, allocations: 47.94 kB / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1674, allocations: 76.55 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1676, allocations: 119.4 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1676, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003/0.168, allocations: 185.1 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.168, allocations: 8 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.168, allocations: 320 / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.168, allocations: 4.062 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1682, allocations: 39.92 kB / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.1682, allocations: 11.92 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.1683, allocations: 4 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1683, allocations: 11.98 kB / 448.6 MB, free: 14.54 MB / 334.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001586/0.1685, allocations: 165.8 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1685, allocations: 31.62 kB / 448.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.1686, allocations: 38.8 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1686, allocations: 4 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1686, allocations: 11.88 kB / 448.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1686, allocations: 0 / 448.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.1694, allocations: 0.6243 MB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1694, allocations: 0 / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.1694, allocations: 23.92 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1694, allocations: 4.062 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1695, allocations: 4 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1695, allocations: 4 kB / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1695, allocations: 0 / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1699, allocations: 371.9 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.17, allocations: 108.7 kB / 450 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.17, allocations: 7.984 kB / 450 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1702, allocations: 8 kB / 450 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1702, allocations: 11.98 kB / 450 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1703, allocations: 7.938 kB / 450 MB, free: 13.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003572/0.1706, allocations: 367.1 kB / 450.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1706, allocations: 0 / 450.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.171, allocations: 36 kB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001162/0.1721, allocations: 477.2 kB / 450.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.1725, allocations: 116 kB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1725, allocations: 8.062 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1726, allocations: 55.91 kB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.1732, allocations: 60 kB / 451.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.1741, allocations: 0.5342 MB / 451.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.1745, allocations: 0.7749 MB / 452.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.052e-05/0.1746, allocations: 25.94 kB / 452.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.1747, allocations: 31.42 kB / 452.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1747, allocations: 0 / 452.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.007011/0.1817, allocations: 2.759 MB / 455.2 MB, free: 7.824 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches