Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 106.4 kB / 16.27 MB, free: 6.312 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.001236/0.001236, allocations: 191.3 kB / 17.19 MB, free: 5.93 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.761/1.761, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.27/0.27, 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.001683/0.001683, allocations: 69.81 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1635, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003674/0.1672, allocations: 1.701 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1685, allocations: 0.7922 MB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1686, allocations: 4 kB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.1691, allocations: 63.73 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1693, allocations: 55.75 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1696, allocations: 79.77 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1698, allocations: 99.7 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1699, allocations: 8.5 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.17, allocations: 39.8 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.1701, allocations: 35.78 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1701, allocations: 4 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/0.1702, allocations: 39.98 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.1703, allocations: 27.91 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.1703, allocations: 43.67 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1705, allocations: 131.6 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1706, allocations: 4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1706, allocations: 0 / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1706, allocations: 0 / 443.6 MB, free: 3.77 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.0005775/0.1712, allocations: 442.6 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1712, allocations: 15.89 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.1713, allocations: 12.83 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1715, allocations: 219.5 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1715, allocations: 4.375 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1715, allocations: 16.02 kB / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1717, allocations: 57.67 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1717, allocations: 0 / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1717, allocations: 0 / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1717, allocations: 0 / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.1718, allocations: 23.92 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.1721, allocations: 288.9 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1723, allocations: 58.67 kB / 444.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.1724, allocations: 20.84 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1724, allocations: 4 kB / 444.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.1726, allocations: 75.27 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1727, allocations: 0 / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005357/0.1732, allocations: 185.1 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.1732, allocations: 55.39 kB / 445.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1734, allocations: 255.7 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1734, allocations: 25.7 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.1735, allocations: 116 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1735, allocations: 23.73 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.1736, allocations: 29.7 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.1736, allocations: 330.8 kB / 445.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.155e-05/0.1737, allocations: 20 kB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.1737, allocations: 33.7 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.1738, allocations: 61.64 kB / 446 MB, free: 1.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1739, allocations: 4 kB / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000148/0.174, allocations: 105.4 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.174, allocations: 12.03 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1741, allocations: 0 / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1741, allocations: 0 / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.1742, allocations: 12 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1742, allocations: 4 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1742, allocations: 11.92 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1742, allocations: 4 kB / 446.1 MB, free: 1.051 MB / 318.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 8.23e-05/0.1743, allocations: 141.1 kB / 446.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.1744, allocations: 11.81 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.1744, allocations: 25.39 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1744, allocations: 4 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1744, allocations: 3.984 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1744, allocations: 3.938 kB / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.1748, allocations: 403.2 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1748, allocations: 0 / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.1748, allocations: 15.92 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1748, allocations: 0 / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1749, allocations: 11.97 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1749, allocations: 0 / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1749, allocations: 0 / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1751, allocations: 200.3 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.1751, allocations: 89.11 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1751, allocations: 12.3 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.1752, allocations: 7.938 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1752, allocations: 8 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1753, allocations: 11.98 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.1755, allocations: 199.2 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1755, allocations: 0 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1758, allocations: 20 kB / 447.3 MB, free: 15.8 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.001235/0.177, allocations: 474.8 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1773, allocations: 59.91 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1773, allocations: 0 / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.1774, allocations: 27.98 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1777, allocations: 23.98 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.1784, allocations: 288.1 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.1789, allocations: 0.7197 MB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.497e-05/0.1789, allocations: 12.88 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.179, allocations: 15.44 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 6.22e-07/0.179, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.005473/0.1845, allocations: 1.728 MB / 450.6 MB, free: 12.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches