Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001067/0.001067, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001227/0.001227, allocations: 169.9 kB / 24.91 MB, free: 9.195 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2696/0.2696, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 3.938 kB / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.151e-05, allocations: 4.703 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003857/0.003889, allocations: 1.807 MB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.006383, allocations: 1.735 MB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.006495, allocations: 3.938 kB / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.006838, allocations: 31.84 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.007237, allocations: 107.3 kB / 329.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.007484, allocations: 75.62 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.007677, allocations: 111.7 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.007766, allocations: 7.984 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.007866, allocations: 59.77 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.007984, allocations: 35.91 kB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.008001, allocations: 8 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.008222, allocations: 115.7 kB / 329.5 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.008272, allocations: 15.92 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.00831, allocations: 23.92 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.008574, allocations: 155.5 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.008579, allocations: 0 / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.00858, allocations: 0 / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.008587, allocations: 0 / 329.7 MB, free: 3.262 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.000443/0.00903, allocations: 341.5 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.00907, allocations: 12.03 kB / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.009107, allocations: 8.938 kB / 330 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.009289, allocations: 145.2 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.009305, allocations: 384 / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.009327, allocations: 4.375 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.009477, allocations: 112.5 kB / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.009487, allocations: 0 / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.009495, allocations: 0 / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.009502, allocations: 0 / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.009528, allocations: 14.81 kB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.009792, allocations: 161.9 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.00992, allocations: 97.28 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.009946, allocations: 16.8 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.009962, allocations: 0 / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.01009, allocations: 70.2 kB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.336e-06/0.01009, allocations: 3.984 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004447/0.01054, allocations: 109.5 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.01059, allocations: 77.11 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.01073, allocations: 152.3 kB / 331 MB, free: 1.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.01076, allocations: 37.7 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.0108, allocations: 96.05 kB / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.01084, allocations: 27.73 kB / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.01088, allocations: 25.7 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.01097, allocations: 322.8 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.01099, allocations: 10.83 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.01104, allocations: 64.2 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.01109, allocations: 40.45 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.0111, allocations: 4 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.942e-05/0.01118, allocations: 68.47 kB / 331.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.0112, allocations: 8 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.0112, allocations: 0 / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01122, allocations: 0 / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.01129, allocations: 15.98 kB / 331.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01129, allocations: 4 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.01132, allocations: 4 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.01133, allocations: 4 kB / 331.7 MB, free: 1.035 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.9e-05/0.0114, allocations: 124.5 kB / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.01141, allocations: 7.984 kB / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.01152, allocations: 78.41 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01153, allocations: 0 / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01153, allocations: 4 kB / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01153, allocations: 0 / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.01183, allocations: 295.6 kB / 332.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01183, allocations: 0 / 332.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.01186, allocations: 15.98 kB / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01187, allocations: 0 / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01187, allocations: 0 / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01188, allocations: 0 / 332.2 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01188, allocations: 8.031 kB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.01199, allocations: 215 kB / 332.4 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.012, allocations: 11.94 kB / 332.4 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01202, allocations: 4.375 kB / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.01207, allocations: 4 kB / 332.4 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.0121, allocations: 11.98 kB / 332.4 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01211, allocations: 0 / 332.4 MB, free: 212 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.46e-05/0.01216, allocations: 47.52 kB / 332.5 MB, free: 164 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01216, allocations: 3.938 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.01234, allocations: 47.86 kB / 332.5 MB, free: 112 kB / 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.001532/0.01388, allocations: 0.7138 MB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01399, allocations: 40.78 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01399, allocations: 0 / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.01403, allocations: 32.84 kB / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.01422, allocations: 31.94 kB / 333.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.01453, allocations: 199.7 kB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.01457, allocations: 63.34 kB / 333.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.01462, allocations: 21.27 kB / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.01471, allocations: 75.36 kB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01471, allocations: 3.938 kB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of Templates: time 0.005725/0.02043, allocations: 2.761 MB / 336.5 MB, free: 12.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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: 3.0936645353212953]