Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 100.6 kB / 16.27 MB, free: 5.965 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.001109/0.001109, allocations: 191.8 kB / 17.2 MB, free: 5.598 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.74/1.74, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2509/0.2509, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001963/0.001963, allocations: 71.97 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1588, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004643/0.1635, allocations: 1.66 MB / 442.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1649, allocations: 0.7827 MB / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1651, allocations: 3.938 kB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.1656, allocations: 55.81 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.166, allocations: 55.75 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1663, allocations: 91.69 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1665, allocations: 91.7 kB / 443.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.396e-05/0.1666, allocations: 4 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1667, allocations: 35.86 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.1668, allocations: 31.78 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1669, allocations: 4 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.167, allocations: 31.98 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.1671, allocations: 19.92 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.1671, allocations: 39.73 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1674, allocations: 119.8 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1674, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1674, allocations: 4 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1674, allocations: 0 / 443.5 MB, free: 3.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006018/0.168, allocations: 434.6 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1681, allocations: 15.89 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.1681, allocations: 8.844 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1684, allocations: 219.5 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1684, allocations: 384 / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1684, allocations: 4.125 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1686, allocations: 57.67 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1686, allocations: 0 / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1686, allocations: 0 / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.1686, allocations: 0 / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.1687, allocations: 19.92 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.1689, allocations: 185.7 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1691, allocations: 54.62 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1691, allocations: 28.78 kB / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1692, allocations: 3.984 kB / 444.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1694, allocations: 67.23 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.1694, allocations: 0 / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000298/0.1697, allocations: 93.58 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1698, allocations: 51.41 kB / 444.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.17, allocations: 263.7 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.17, allocations: 29.7 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.17, allocations: 112.1 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.1701, allocations: 19.73 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1701, allocations: 17.72 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.1702, allocations: 326.8 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.1703, allocations: 16.23 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.1703, allocations: 33.66 kB / 445.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.1704, allocations: 45.7 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1704, allocations: 3.938 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001516/0.1706, allocations: 89.38 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1706, allocations: 4 kB / 445.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1706, allocations: 0 / 445.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1707, allocations: 7.984 kB / 445.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.1707, allocations: 16.02 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1708, allocations: 0 / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1708, allocations: 8 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1708, allocations: 0 / 445.7 MB, free: 1.445 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 (7): * Single equations (assignments): 7 * 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.0001109/0.1709, allocations: 137.7 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.171, allocations: 11.81 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.171, allocations: 20.98 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1711, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1711, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1711, allocations: 8 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1712, allocations: 201.5 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1712, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.1713, allocations: 4 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1713, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1713, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1713, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1713, allocations: 3.984 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1715, allocations: 116.9 kB / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.1715, allocations: 93 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1716, allocations: 0 / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.1716, allocations: 0 / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1717, allocations: 4 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1717, allocations: 7.984 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1718, allocations: 195.3 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1718, allocations: 0 / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1721, allocations: 24 kB / 446.5 MB, free: 0.5391 MB / 318.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 (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.001226/0.1733, allocations: 415.5 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1736, allocations: 43.98 kB / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1736, allocations: 0 / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.1737, allocations: 23.92 kB / 447 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.174, allocations: 36.28 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.1749, allocations: 262.7 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.1755, allocations: 0.708 MB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.471e-05/0.1756, allocations: 20.53 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.1757, allocations: 23.38 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1757, allocations: 0 / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Templates: time 0.006501/0.1822, allocations: 1.493 MB / 449.5 MB, free: 13.57 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches