Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001306/0.001306, 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.003766/0.003766, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8735/0.8735, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.723e-05, allocations: 10.22 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002154/0.002181, allocations: 1.71 MB / 442.7 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003242, allocations: 0.9742 MB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.003305, allocations: 3.938 kB / 443.6 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.003569, allocations: 39.77 kB / 443.7 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.003848, allocations: 103.4 kB / 443.8 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.003977, allocations: 79.66 kB / 443.8 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.004117, allocations: 103.6 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.184e-05/0.004198, allocations: 11.98 kB / 444 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.004272, allocations: 55.83 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.004334, allocations: 23.91 kB / 444 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.004348, allocations: 4 kB / 444 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.004419, allocations: 47.92 kB / 444.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.00447, allocations: 23.86 kB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.004516, allocations: 19.92 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.004683, allocations: 123.5 kB / 444.3 MB, free: 312 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004685, allocations: 0 / 444.3 MB, free: 312 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004686, allocations: 0 / 444.3 MB, free: 312 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.00469, allocations: 0 / 444.3 MB, free: 312 kB / 410.7 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.1666/0.1713, allocations: 343.9 kB / 444.6 MB, free: 46.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1713, allocations: 11.72 kB / 444.6 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1714, allocations: 15.02 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1716, allocations: 147.7 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1716, allocations: 384 / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1717, allocations: 3.25 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1718, allocations: 58.81 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1718, allocations: 2.906 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1718, allocations: 0 / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1718, allocations: 0 / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.1718, allocations: 29.36 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.1721, allocations: 235.8 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1722, allocations: 54.17 kB / 445.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.1722, allocations: 24.84 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.1722, allocations: 2.812 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.1723, allocations: 72.06 kB / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1723, allocations: 0 / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003943/0.1727, allocations: 181.3 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.1728, allocations: 57.09 kB / 445.5 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1729, allocations: 202 kB / 445.7 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.1729, allocations: 29.64 kB / 445.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.1729, allocations: 105.1 kB / 445.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1729, allocations: 20.7 kB / 445.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.173, allocations: 26.25 kB / 445.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.173, allocations: 326.5 kB / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.1731, allocations: 18.34 kB / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.1731, allocations: 44.53 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.766e-05/0.1732, allocations: 67.2 kB / 446.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1732, allocations: 0 / 446.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001063/0.1733, allocations: 109.3 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1733, allocations: 5.25 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1733, allocations: 2.875 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1733, allocations: 6.375 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.1734, allocations: 22.34 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1734, allocations: 2.938 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.1734, allocations: 2.812 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1734, allocations: 6.188 kB / 446.4 MB, free: 45.57 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 (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 6.089e-05/0.1735, allocations: 126.2 kB / 446.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1735, allocations: 12.89 kB / 446.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.1736, allocations: 125 kB / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1736, allocations: 0 / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1736, allocations: 0 / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1736, allocations: 0 / 446.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1739, allocations: 359.9 kB / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1739, allocations: 6.188 kB / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.1739, allocations: 9.094 kB / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1739, allocations: 0 / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1739, allocations: 0 / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1739, allocations: 2.906 kB / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1739, allocations: 0 / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.174, allocations: 215.8 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.174, allocations: 14.11 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1741, allocations: 4 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.1741, allocations: 6.344 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.1741, allocations: 9.297 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1741, allocations: 5.781 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.372e-05/0.1742, allocations: 157.9 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1742, allocations: 1.688 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.1744, allocations: 23.44 kB / 447.5 MB, free: 44.83 MB / 410.7 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 (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.0007823/0.1752, allocations: 499.2 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1753, allocations: 58.61 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1753, allocations: 6.656 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.1753, allocations: 27.08 kB / 448.1 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1756, allocations: 36.86 kB / 448.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.1759, allocations: 258.1 kB / 448.4 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.1759, allocations: 100.9 kB / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.176, allocations: 16.81 kB / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.176, allocations: 3.828 kB / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002514/0.1785, allocations: 2.009 MB / 450.5 MB, free: 44.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.883951335214078]