Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009897/0.0009897, 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.001652/0.001652, allocations: 170.2 kB / 24.91 MB, free: 9.188 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.9914/0.9914, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2723/0.2723, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.838e-05, allocations: 3.188 kB / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002294/0.002312, allocations: 1.809 MB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003528, allocations: 1.01 MB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.00359, allocations: 0 / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.003805, allocations: 43.7 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.004046, allocations: 91.48 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.004211, allocations: 83.59 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.004336, allocations: 107.6 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.004395, allocations: 11.98 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.004465, allocations: 47.84 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.00452, allocations: 27.91 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.004532, allocations: 4 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.004597, allocations: 43.92 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.00463, allocations: 27.86 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.004667, allocations: 24.41 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.004795, allocations: 99.66 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004797, allocations: 0 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004797, allocations: 0 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.0048, allocations: 0 / 328.8 MB, free: 4.098 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.0002951/0.005095, allocations: 325.4 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.515e-05/0.00512, allocations: 12.03 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.005147, allocations: 8.938 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.005279, allocations: 147.4 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.005292, allocations: 8.359 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.005304, allocations: 8.375 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.883e-05/0.005393, allocations: 61.77 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.005402, allocations: 3.938 kB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.005408, allocations: 4 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.005412, allocations: 0 / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.005436, allocations: 15.92 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.005602, allocations: 154 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.005682, allocations: 89.27 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.0057, allocations: 20.92 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.005708, allocations: 0 / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.597e-05/0.005784, allocations: 66.09 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.31e-07/0.005785, allocations: 0 / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002491/0.006034, allocations: 121.5 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.006057, allocations: 51.41 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.006152, allocations: 173.3 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.006168, allocations: 33.7 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.006198, allocations: 96.11 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.006222, allocations: 27.77 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.006251, allocations: 21.72 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.006327, allocations: 326.8 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.006342, allocations: 10.83 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.006364, allocations: 21.7 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.006406, allocations: 48.45 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.006407, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.018e-05/0.006477, allocations: 68.44 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.006486, allocations: 7.938 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.00649, allocations: 4 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.006502, allocations: 8.016 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.006561, allocations: 15.94 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.006564, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.006589, allocations: 8 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006595, allocations: 4 kB / 330.7 MB, free: 1.988 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 5.996e-05/0.006655, allocations: 116.7 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.00667, allocations: 15.94 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.34e-05/0.006763, allocations: 79.05 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006765, allocations: 0 / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006767, allocations: 0 / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.00677, allocations: 4 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.00697, allocations: 299.5 kB / 331.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006972, allocations: 0 / 331.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.006997, allocations: 15.98 kB / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006999, allocations: 0 / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.007005, allocations: 0 / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007006, allocations: 0 / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007008, allocations: 4 kB / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.007106, allocations: 219 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.007117, allocations: 11.94 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.00713, allocations: 4.031 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.00717, allocations: 4.375 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.007195, allocations: 11.98 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.007205, allocations: 4 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.007245, allocations: 55.58 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007245, allocations: 0 / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.007384, allocations: 19.94 kB / 331.6 MB, free: 1.07 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.001194/0.008579, allocations: 0.584 MB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.008667, allocations: 44.77 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.008671, allocations: 4 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.008697, allocations: 16.86 kB / 332.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.008868, allocations: 35.03 kB / 332.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.009142, allocations: 223.7 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.00918, allocations: 71.33 kB / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.009216, allocations: 17.27 kB / 332.6 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.136e-05/0.009277, allocations: 67.36 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009277, allocations: 0 / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of Templates: time 0.00336/0.01264, allocations: 2.017 MB / 334.6 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.884836179204285]