Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001176/0.001176, allocations: 87.62 kB / 21.44 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.006732/0.006732, allocations: 160.9 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.847/0.847, 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.2307/0.2307, allocations: 34.26 MB / 295.7 MB, free: 0.6992 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.777e-05, allocations: 2.281 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.1714/0.1714, allocations: 1.711 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009037/0.1723, allocations: 0.9711 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.1724, allocations: 0 / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1726, allocations: 44.81 kB / 446.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1728, allocations: 94.09 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.173, allocations: 84.27 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1731, allocations: 112.8 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.1732, allocations: 5.281 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.1732, allocations: 56.89 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.1733, allocations: 25.98 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1733, allocations: 6 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.1734, allocations: 45.42 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.1734, allocations: 29.47 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1735, allocations: 19.77 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1736, allocations: 115.5 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1736, allocations: 4 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1736, allocations: 0 / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1736, allocations: 2.5 kB / 446.8 MB, free: 43.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003421/0.1739, allocations: 342.6 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.174, allocations: 14.5 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.174, allocations: 14.78 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1742, allocations: 153.5 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1742, allocations: 384 / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1742, allocations: 3.156 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.1743, allocations: 52.72 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1743, allocations: 7 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1743, allocations: 3.188 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1743, allocations: 2.25 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.1744, allocations: 26.86 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.1746, allocations: 228 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.1747, allocations: 56.2 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.1747, allocations: 24.91 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1747, allocations: 9.828 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.438e-05/0.1748, allocations: 71.91 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.1748, allocations: 0 / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003399/0.1752, allocations: 173.5 kB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.1752, allocations: 61.45 kB / 448.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.1753, allocations: 203.7 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.1753, allocations: 25.7 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.1753, allocations: 105.2 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1753, allocations: 23.41 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.1754, allocations: 22.28 kB / 448.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.783e-05/0.1754, allocations: 327.3 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.1754, allocations: 23.11 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/0.1755, allocations: 42.42 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.998e-05/0.1755, allocations: 68.78 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1755, allocations: 0 / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.568e-05/0.1756, allocations: 101.8 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1756, allocations: 5.938 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1756, allocations: 4.031 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1756, allocations: 2.781 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.1757, allocations: 18.72 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1757, allocations: 2.906 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.1757, allocations: 0 / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1757, allocations: 3.125 kB / 449 MB, free: 41.3 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 4.946e-05/0.1758, allocations: 134.1 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.1758, allocations: 6.891 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.1759, allocations: 121.1 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1759, allocations: 7 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1759, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1759, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1761, allocations: 358 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1761, allocations: 0 / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.1761, allocations: 14.05 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1762, allocations: 0 / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1762, allocations: 6.75 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1762, allocations: 1.5 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1762, allocations: 3.938 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.1763, allocations: 213 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.1763, allocations: 13.5 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1763, allocations: 7.312 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.1763, allocations: 6.75 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.1763, allocations: 10.09 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1764, allocations: 5.625 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.86e-05/0.1764, allocations: 157.4 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1764, allocations: 2.812 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.1766, allocations: 21.38 kB / 450.1 MB, free: 40.52 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.0006823/0.1773, allocations: 0.4951 MB / 450.6 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1774, allocations: 57.64 kB / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1774, allocations: 0 / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.1774, allocations: 36.17 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1776, allocations: 25.08 kB / 450.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.1779, allocations: 255.4 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.1779, allocations: 93.91 kB / 451 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.178, allocations: 20.28 kB / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.178, allocations: 0 / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of Templates: time 0.002072/0.18, allocations: 2.014 MB / 453.1 MB, free: 39.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.88116651494056]