Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001165/0.001165, allocations: 192 kB / 18.56 MB, free: 4.434 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.422/1.422, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2424/0.2424, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 70.23 kB / 408.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1589, allocations: 60.81 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.0041/0.163, allocations: 1.916 MB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1646, allocations: 0.9197 MB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1648, allocations: 0 / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1651, allocations: 43.7 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1654, allocations: 63.62 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.1658, allocations: 126.3 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.166, allocations: 135.6 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1662, allocations: 33.48 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1663, allocations: 55.72 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.1664, allocations: 47.7 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.1664, allocations: 8 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1666, allocations: 43.98 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.1666, allocations: 23.92 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.1667, allocations: 59.59 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.167, allocations: 143.8 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.167, allocations: 4 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.167, allocations: 3.938 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.167, allocations: 0 / 472.9 MB, free: 10.72 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006271/0.1676, allocations: 472.6 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1677, allocations: 8.031 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.1677, allocations: 20.73 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.168, allocations: 227.9 kB / 473.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.168, allocations: 8.375 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.168, allocations: 12.12 kB / 473.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1683, allocations: 105.1 kB / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1683, allocations: 0 / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1683, allocations: 4 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1683, allocations: 0 / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1685, allocations: 51.91 kB / 473.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.169, allocations: 0.5048 MB / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1694, allocations: 90.67 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.1695, allocations: 36.83 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1695, allocations: 4 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.1698, allocations: 91.23 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1698, allocations: 0 / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004032/0.1702, allocations: 149.4 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1703, allocations: 55.34 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1705, allocations: 187.5 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1705, allocations: 25.7 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.1706, allocations: 116 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1706, allocations: 27.61 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.1707, allocations: 29.7 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1708, allocations: 326.8 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/0.1709, allocations: 31.98 kB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.171, allocations: 64.58 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1712, allocations: 104.2 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1712, allocations: 0 / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002649/0.1715, allocations: 133.3 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1715, allocations: 4 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1715, allocations: 4 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1715, allocations: 128 / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.1716, allocations: 31.92 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1716, allocations: 3.938 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.1717, allocations: 19.92 kB / 475.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1717, allocations: 4 kB / 475.8 MB, free: 7.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001217/0.1719, allocations: 129.1 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1719, allocations: 11.81 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.1719, allocations: 17.39 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.172, allocations: 7.938 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.172, allocations: 4 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.172, allocations: 0 / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1721, allocations: 205.6 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1722, allocations: 0 / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/0.1722, allocations: 15.92 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.1722, allocations: 4 kB / 476.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1723, allocations: 4 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1723, allocations: 3.938 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1723, allocations: 0 / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.1726, allocations: 188.8 kB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.1727, allocations: 96.83 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1727, allocations: 0 / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.1728, allocations: 11.92 kB / 476.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.1729, allocations: 11.98 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1729, allocations: 4 kB / 476.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.173, allocations: 141.2 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.173, allocations: 4.062 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1732, allocations: 20 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009118/0.1742, allocations: 413.9 kB / 477 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1744, allocations: 87.83 kB / 477.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1744, allocations: 0 / 477.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.1745, allocations: 44.16 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1748, allocations: 35.92 kB / 477.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.1753, allocations: 263.9 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1756, allocations: 0.7123 MB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.972e-05/0.1756, allocations: 21.41 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1757, allocations: 19.44 kB / 478.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.073e-06/0.1757, allocations: 0 / 478.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Templates: time 0.005197/0.1809, allocations: 1.886 MB / 480.1 MB, free: 3.23 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches