Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007819/0.0007819, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002968/0.002968, allocations: 163.3 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8581/0.8581, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.299e-05, allocations: 7.406 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.1697/0.1697, allocations: 1.724 MB / 445.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.1707, allocations: 0.9816 MB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.1707, allocations: 0.7188 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.171, allocations: 103.2 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1713, allocations: 137.6 kB / 446.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.1714, allocations: 88.02 kB / 446.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1715, allocations: 125 kB / 446.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.1716, allocations: 9.938 kB / 446.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.1717, allocations: 71.27 kB / 446.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.1718, allocations: 63.12 kB / 446.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1718, allocations: 5.656 kB / 446.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.058e-05/0.1719, allocations: 61.86 kB / 446.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.1719, allocations: 29.88 kB / 446.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.172, allocations: 24.73 kB / 446.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1722, allocations: 140.2 kB / 447.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1722, allocations: 1.562 kB / 447.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1722, allocations: 0 / 447.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1722, allocations: 0 / 447.1 MB, free: 43.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003814/0.1725, allocations: 380.8 kB / 447.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1726, allocations: 14.53 kB / 447.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1726, allocations: 13.94 kB / 447.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1728, allocations: 163.6 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1728, allocations: 4.375 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1728, allocations: 3.344 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.173, allocations: 65.53 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.173, allocations: 3.938 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.173, allocations: 3.094 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.173, allocations: 0 / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.173, allocations: 33.23 kB / 447.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.1733, allocations: 248.7 kB / 448 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1735, allocations: 58.66 kB / 448.1 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.1735, allocations: 24.22 kB / 448.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1735, allocations: 0 / 448.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.95e-05/0.1736, allocations: 73.23 kB / 448.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.1736, allocations: 0 / 448.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005036/0.1741, allocations: 253.8 kB / 448.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.1741, allocations: 58.12 kB / 448.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1743, allocations: 255.8 kB / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.1743, allocations: 25.7 kB / 448.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.1743, allocations: 115.2 kB / 448.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1743, allocations: 36.44 kB / 448.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1743, allocations: 24.31 kB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.1744, allocations: 332.1 kB / 449.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.1744, allocations: 36.94 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.1745, allocations: 48.02 kB / 449.3 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.1745, allocations: 86.16 kB / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1745, allocations: 0 / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001244/0.1747, allocations: 132.8 kB / 449.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1747, allocations: 5.562 kB / 449.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1747, allocations: 2.75 kB / 449.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1747, allocations: 0 / 449.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.1747, allocations: 25.92 kB / 449.6 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1747, allocations: 2.688 kB / 449.6 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.1748, allocations: 3.281 kB / 449.6 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1748, allocations: 13.81 kB / 449.6 MB, free: 41.14 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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 5.966e-05/0.1748, allocations: 140.5 kB / 449.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.1749, allocations: 13.59 kB / 449.7 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.175, allocations: 161.6 kB / 449.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.175, allocations: 0 / 449.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.175, allocations: 3.281 kB / 449.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.175, allocations: 2.906 kB / 449.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1753, allocations: 408.4 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1753, allocations: 4.062 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.1753, allocations: 14.44 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1753, allocations: 3.188 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1754, allocations: 6.219 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.1754, allocations: 2.75 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1754, allocations: 7.875 kB / 450.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1755, allocations: 240.2 kB / 450.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.1755, allocations: 13.66 kB / 450.6 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1755, allocations: 6.875 kB / 450.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.1756, allocations: 6.25 kB / 450.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1756, allocations: 14.06 kB / 450.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1756, allocations: 9.594 kB / 450.6 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.1757, allocations: 188.2 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1757, allocations: 0 / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000176/0.1759, allocations: 34 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0008133/0.1767, allocations: 0.5506 MB / 451.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1768, allocations: 79.58 kB / 451.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1768, allocations: 4.062 kB / 451.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.1769, allocations: 40.91 kB / 451.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1771, allocations: 35.77 kB / 451.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.1775, allocations: 344.5 kB / 451.9 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.1776, allocations: 100.9 kB / 452 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.1776, allocations: 19.81 kB / 452 MB, free: 39.74 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1776, allocations: 4 kB / 452 MB, free: 39.73 MB / 410.7 MB Notification: Performance of Templates: time 0.003019/0.1806, allocations: 2.369 MB / 454.4 MB, free: 39.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.650530701503158]