Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 104.8 kB / 15.98 MB, free: 5.871 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.001444/0.001444, allocations: 195.8 kB / 16.91 MB, free: 5.734 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.823/1.823, allocations: 205.1 MB / 222.8 MB, free: 4.574 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.4972/0.4972, allocations: 43.5 MB / 313.6 MB, free: 8.297 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.001754/0.001754, allocations: 71.91 kB / 382.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1636, allocations: 57.78 MB / 440 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00422/0.1678, allocations: 1.753 MB / 441.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1695, allocations: 0.7924 MB / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.1696, allocations: 3.938 kB / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.17, allocations: 67.83 kB / 442.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1703, allocations: 71.8 kB / 442.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1705, allocations: 75.84 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1707, allocations: 115.7 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1709, allocations: 24.19 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.171, allocations: 47.72 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1711, allocations: 59.81 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1711, allocations: 4 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1712, allocations: 47.97 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.1713, allocations: 19.92 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.1714, allocations: 31.75 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1716, allocations: 123.8 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1716, allocations: 0 / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1716, allocations: 3.938 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1716, allocations: 0 / 443.2 MB, free: 11.24 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006241/0.1723, allocations: 418.9 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1723, allocations: 11.89 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.1724, allocations: 12.75 kB / 443.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1726, allocations: 216.8 kB / 443.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1726, allocations: 4.375 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.1727, allocations: 8.125 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1728, allocations: 57.61 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1729, allocations: 0 / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1729, allocations: 11.92 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1729, allocations: 0 / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.173, allocations: 15.94 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1734, allocations: 296.8 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1736, allocations: 54.69 kB / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.1736, allocations: 24.78 kB / 444.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1737, allocations: 0 / 444.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1739, allocations: 67.39 kB / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1739, allocations: 0 / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006062/0.1745, allocations: 181.1 kB / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1746, allocations: 55.41 kB / 444.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1748, allocations: 206.4 kB / 444.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1748, allocations: 25.7 kB / 444.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1749, allocations: 104.1 kB / 445 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.175, allocations: 31.62 kB / 445 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.175, allocations: 21.72 kB / 445 MB, free: 9.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1752, allocations: 334.8 kB / 445.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.1752, allocations: 19.98 kB / 445.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.1753, allocations: 33.7 kB / 445.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.1755, allocations: 65.64 kB / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1755, allocations: 0 / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1757, allocations: 101.8 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1757, allocations: 12.03 kB / 445.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1757, allocations: 0 / 445.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1757, allocations: 0 / 445.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.1758, allocations: 19.98 kB / 445.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1758, allocations: 4 kB / 445.6 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1759, allocations: 3.938 kB / 445.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1759, allocations: 4 kB / 445.6 MB, free: 8.629 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 (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.0001138/0.176, allocations: 129.8 kB / 445.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.1761, allocations: 7.906 kB / 445.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.1761, allocations: 21.39 kB / 445.8 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1761, allocations: 7.938 kB / 445.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1761, allocations: 0 / 445.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1761, allocations: 4.125 kB / 445.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.1767, allocations: 391.3 kB / 446.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1767, allocations: 7.875 kB / 446.2 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.1767, allocations: 11.98 kB / 446.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1767, allocations: 7.953 kB / 446.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1767, allocations: 11.94 kB / 446.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1767, allocations: 0 / 446.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1768, allocations: 0 / 446.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.177, allocations: 200.3 kB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.177, allocations: 88.92 kB / 446.5 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1771, allocations: 11.94 kB / 446.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.1772, allocations: 7.984 kB / 446.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1772, allocations: 7.938 kB / 446.5 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1772, allocations: 4 kB / 446.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1774, allocations: 156.2 kB / 446.7 MB, free: 7.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1774, allocations: 0 / 446.7 MB, free: 7.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1777, allocations: 23.98 kB / 446.7 MB, free: 7.445 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 (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.001123/0.1788, allocations: 474 kB / 447.1 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.179, allocations: 67.89 kB / 447.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.179, allocations: 3.938 kB / 447.2 MB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.1791, allocations: 23.98 kB / 447.2 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1795, allocations: 43.78 kB / 447.3 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.18, allocations: 263 kB / 447.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1803, allocations: 0.7157 MB / 448.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.155e-05/0.1804, allocations: 13.19 kB / 448.3 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.1804, allocations: 15.44 kB / 448.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1804, allocations: 0 / 448.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of Templates: time 0.005437/0.1859, allocations: 1.677 MB / 450 MB, free: 4.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches