Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 93.47 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.001075/0.001075, allocations: 184.7 kB / 17.87 MB, free: 5.598 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.478/1.478, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2505/0.2505, allocations: 44.23 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12.62 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 61.92 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002402/0.1511, allocations: 1.344 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1524, allocations: 0.7803 MB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.1525, allocations: 0 / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1529, allocations: 83.69 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.153, allocations: 63.84 kB / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1533, allocations: 83.77 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1535, allocations: 67.84 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.1535, allocations: 4 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.1536, allocations: 43.83 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.1537, allocations: 39.84 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.1538, allocations: 4 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.148e-05/0.1539, allocations: 27.91 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.1539, allocations: 15.92 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.154, allocations: 37.64 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1541, allocations: 80.11 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1541, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1541, allocations: 4 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1542, allocations: 7.938 kB / 474.1 MB, free: 11.01 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005517/0.1547, allocations: 390.9 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1548, allocations: 8.031 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1548, allocations: 11.84 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1551, allocations: 202.9 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1551, allocations: 4 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1551, allocations: 0 / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1553, allocations: 57.56 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1553, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1553, allocations: 4 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1553, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.1554, allocations: 15.98 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.1556, allocations: 177.7 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1558, allocations: 54.62 kB / 475 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1558, allocations: 4 kB / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.1561, allocations: 71.38 kB / 475.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.1561, allocations: 0 / 475.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003117/0.1564, allocations: 97.47 kB / 475.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1564, allocations: 55.41 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1567, allocations: 211.2 kB / 475.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1567, allocations: 29.7 kB / 475.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.1567, allocations: 104.1 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1568, allocations: 15.8 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.1568, allocations: 3.938 kB / 475.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.157, allocations: 326.8 kB / 475.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.157, allocations: 15.98 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.021e-05/0.1571, allocations: 25.7 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.1571, allocations: 20 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1571, allocations: 0 / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001504/0.1573, allocations: 81.53 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1573, allocations: 4 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1573, allocations: 3.953 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1573, allocations: 0 / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.1574, allocations: 16.3 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1574, allocations: 0 / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.1575, allocations: 11.94 kB / 476.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1575, allocations: 4.031 kB / 476.1 MB, free: 8.797 MB / 350.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 ($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 (7): * Single equations (assignments): 7 * 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 9.897e-05/0.1576, allocations: 138.3 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.1576, allocations: 11.81 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.1577, allocations: 16.98 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1577, allocations: 7.953 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1577, allocations: 0 / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1577, allocations: 3.938 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1579, allocations: 181.6 kB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1579, allocations: 0 / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.1579, allocations: 11.94 kB / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1579, allocations: 0 / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1579, allocations: 3.984 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1579, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/0.1579, allocations: 7.953 kB / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1581, allocations: 105 kB / 476.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1582, allocations: 88.92 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1582, allocations: 0 / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.1583, allocations: 4 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1583, allocations: 11.94 kB / 476.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1583, allocations: 0 / 476.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1585, allocations: 159.2 kB / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1585, allocations: 0 / 476.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1587, allocations: 23.98 kB / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009456/0.1596, allocations: 415.9 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.1598, allocations: 35.98 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1598, allocations: 0 / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.1599, allocations: 19.98 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.1601, allocations: 31.2 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.1606, allocations: 229.2 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.161, allocations: 0.7082 MB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.161, allocations: 12.53 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.1611, allocations: 15.44 kB / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1611, allocations: 0 / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004058/0.1651, allocations: 1.389 MB / 479.7 MB, free: 5.207 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches