Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 108 kB / 17.03 MB, free: 5.664 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.001217/0.001218, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.91/1.91, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2719/0.2719, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 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.001567/0.001567, allocations: 73.36 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1516, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003838/0.1555, allocations: 1.694 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1576, allocations: 1.398 MB / 445.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1577, allocations: 4 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1581, allocations: 43.77 kB / 445.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1584, allocations: 67.67 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1587, allocations: 75.78 kB / 445.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1589, allocations: 103.7 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.159, allocations: 4.234 kB / 445.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.1591, allocations: 43.78 kB / 445.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1593, allocations: 39.84 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1593, allocations: 8 kB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1595, allocations: 67.89 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.1595, allocations: 15.92 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.1596, allocations: 27.81 kB / 445.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1598, allocations: 123.6 kB / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1598, allocations: 0 / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1599, allocations: 0 / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1599, allocations: 0 / 445.7 MB, free: 2.414 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006279/0.1605, allocations: 403 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1606, allocations: 15.89 kB / 446.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.1606, allocations: 12.78 kB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.161, allocations: 205.4 kB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.161, allocations: 384 / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.161, allocations: 4.125 kB / 446.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1612, allocations: 71.38 kB / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1612, allocations: 3.906 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1613, allocations: 7.984 kB / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1613, allocations: 4 kB / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.1614, allocations: 23.92 kB / 446.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1617, allocations: 280.8 kB / 446.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1619, allocations: 58.62 kB / 446.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.162, allocations: 24.84 kB / 446.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.162, allocations: 3.938 kB / 446.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.1622, allocations: 71.33 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1622, allocations: 0 / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005543/0.1627, allocations: 165.3 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1628, allocations: 85.09 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1629, allocations: 160.9 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1629, allocations: 25.7 kB / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.163, allocations: 92.14 kB / 447.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.163, allocations: 27.64 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.1631, allocations: 29.72 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.1632, allocations: 322.8 kB / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.1632, allocations: 19.98 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.1633, allocations: 50.56 kB / 447.8 MB, free: 56 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1634, allocations: 53.7 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1635, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1637, allocations: 101.6 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1637, allocations: 9.25 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1637, allocations: 4.312 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1637, allocations: 0 / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1638, allocations: 19.98 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1639, allocations: 4.062 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.1639, allocations: 11.84 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1639, allocations: 4 kB / 448 MB, free: 15.84 MB / 334.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 (10): * Single equations (assignments): 10 * 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.0001451/0.1641, allocations: 125.8 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1641, allocations: 11.89 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.1643, allocations: 12.72 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1643, allocations: 0 / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1643, allocations: 0 / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1644, allocations: 3.938 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.165, allocations: 387.3 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.165, allocations: 3.984 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.165, allocations: 15.94 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.165, allocations: 0 / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.165, allocations: 11.88 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.165, allocations: 0 / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1651, allocations: 0 / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1654, allocations: 204.5 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1655, allocations: 89 kB / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1655, allocations: 7.875 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.1656, allocations: 4 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.1657, allocations: 7.984 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1657, allocations: 8 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1658, allocations: 115.2 kB / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1658, allocations: 7.938 kB / 449 MB, free: 14.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.1661, allocations: 28 kB / 449 MB, free: 14.7 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001278/0.1674, allocations: 0.5016 MB / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1676, allocations: 59.92 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1676, allocations: 0 / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1678, allocations: 27.98 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1682, allocations: 27.27 kB / 449.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1688, allocations: 206.9 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.1692, allocations: 0.6963 MB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.023e-05/0.1693, allocations: 12.89 kB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.1694, allocations: 19.42 kB / 450.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1694, allocations: 4 kB / 450.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of Templates: time 0.005635/0.175, allocations: 1.939 MB / 452.5 MB, free: 11.26 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches