Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001178/0.001178, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.004306/0.004306, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2478/0.2478, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 323.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.509e-05, allocations: 3.672 kB / 323.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002038/0.002053, allocations: 1.762 MB / 325.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003234, allocations: 1.001 MB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.003302, allocations: 4 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.003576, allocations: 83.62 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.003841, allocations: 119.4 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.004004, allocations: 75.61 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.004156, allocations: 131.6 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.004221, allocations: 4.75 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.004305, allocations: 71.75 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.00439, allocations: 51.88 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.004403, allocations: 4 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.004474, allocations: 43.92 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.004519, allocations: 23.86 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.004552, allocations: 23.91 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.004838, allocations: 99.66 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00484, allocations: 4 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00484, allocations: 0 / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.004843, allocations: 0 / 326.8 MB, free: 6.078 MB / 298.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.0003197/0.005163, allocations: 333.3 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.00519, allocations: 15.97 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.005218, allocations: 8.922 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.005371, allocations: 153.5 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.005389, allocations: 4.375 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.005407, allocations: 384 / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005515, allocations: 61.77 kB / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005526, allocations: 7.938 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005534, allocations: 3.984 kB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005541, allocations: 4 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.005566, allocations: 11.98 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.005784, allocations: 177.9 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.059e-05/0.005875, allocations: 81.3 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.005896, allocations: 12.86 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.005907, allocations: 0 / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.45e-05/0.005991, allocations: 66.16 kB / 327.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.005992, allocations: 0 / 327.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002965/0.006288, allocations: 113.5 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.006323, allocations: 55.41 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.006445, allocations: 189 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.00646, allocations: 29.7 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.006493, allocations: 96.11 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.006521, allocations: 27.77 kB / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.006552, allocations: 21.72 kB / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.006632, allocations: 326.8 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.006646, allocations: 10.83 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.00667, allocations: 29.64 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/0.006711, allocations: 40.58 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006711, allocations: 7.938 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.581e-05/0.006777, allocations: 72.44 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.006789, allocations: 11.98 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006793, allocations: 0 / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.006803, allocations: 0 / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.006857, allocations: 15.94 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.006861, allocations: 0 / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.006886, allocations: 4 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.006893, allocations: 7.984 kB / 328.8 MB, free: 3.93 MB / 298.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.274e-05/0.006956, allocations: 116.7 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.006969, allocations: 15.92 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.007071, allocations: 79.06 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007073, allocations: 0 / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007075, allocations: 4 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007078, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.00729, allocations: 299.8 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007292, allocations: 0 / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.007314, allocations: 12 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007316, allocations: 0 / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.007323, allocations: 4.031 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007325, allocations: 4 kB / 329.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007326, allocations: 0 / 329.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.007435, allocations: 223 kB / 329.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.007446, allocations: 7.953 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.007462, allocations: 4 kB / 329.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.007497, allocations: 0 / 329.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.007524, allocations: 11.98 kB / 329.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.007535, allocations: 4 kB / 329.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.557e-05/0.007581, allocations: 61.55 kB / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007581, allocations: 0 / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.007724, allocations: 31.92 kB / 329.6 MB, free: 3 MB / 298.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.001152/0.008876, allocations: 0.5812 MB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.531e-05/0.008961, allocations: 48.77 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.008966, allocations: 4 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.008992, allocations: 20.84 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.00915, allocations: 38.97 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.009445, allocations: 234.3 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.009485, allocations: 63.34 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.649e-05/0.009522, allocations: 21.09 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.009581, allocations: 67.36 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009581, allocations: 4 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of Templates: time 0.003182/0.01276, allocations: 2.019 MB / 332.7 MB, free: 196 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.942756837233901]