Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001443/0.001443, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001387/0.001387, allocations: 169.1 kB / 24.91 MB, free: 9.156 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.054/1.054, 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.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.3084/0.3084, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.419e-05, allocations: 2.312 kB / 323.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002675/0.002699, allocations: 1.822 MB / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004009, allocations: 1.005 MB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.004097, allocations: 4 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.00437, allocations: 47.69 kB / 326.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.00467, allocations: 103.4 kB / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.004903, allocations: 79.66 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.005081, allocations: 135.6 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.005163, allocations: 12.59 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.00526, allocations: 71.81 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.005348, allocations: 43.89 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.005365, allocations: 8 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.005669, allocations: 63.84 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.005738, allocations: 27.86 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.005783, allocations: 31.91 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.005995, allocations: 127.5 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005998, allocations: 0 / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006, allocations: 0 / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.006004, allocations: 0 / 326.9 MB, free: 5.953 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000398/0.006402, allocations: 349.2 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.006435, allocations: 8.031 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.006466, allocations: 12.92 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.006618, allocations: 150.8 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.006632, allocations: 4.375 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.006649, allocations: 4.375 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.006765, allocations: 77.73 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.006775, allocations: 11.83 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.006782, allocations: 0 / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.006786, allocations: 4 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.837e-05/0.006824, allocations: 19.98 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.00706, allocations: 185.9 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.007214, allocations: 109.3 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.007241, allocations: 20.84 kB / 327.9 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.007252, allocations: 0 / 327.9 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.187e-05/0.007344, allocations: 74.28 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.007345, allocations: 0 / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004488/0.007794, allocations: 200.3 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.007822, allocations: 59.41 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.007929, allocations: 180.2 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.007945, allocations: 29.7 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.007977, allocations: 96.3 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.008011, allocations: 43.67 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.008046, allocations: 25.7 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.008126, allocations: 334.8 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.008149, allocations: 14.83 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.008182, allocations: 37.64 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.893e-05/0.008251, allocations: 67.2 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008252, allocations: 4 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.753e-05/0.00835, allocations: 88.42 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.008363, allocations: 8 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.008368, allocations: 0 / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.00838, allocations: 0 / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.008447, allocations: 27.98 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.008451, allocations: 0 / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.008479, allocations: 8 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.008486, allocations: 4 kB / 329.1 MB, free: 3.562 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 (15): * Single equations (assignments): 15 * 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 7.916e-05/0.008565, allocations: 128.6 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.008582, allocations: 15.98 kB / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.008721, allocations: 105.5 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.008724, allocations: 4 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008725, allocations: 0 / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.008728, allocations: 3.938 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.009011, allocations: 362.1 kB / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009013, allocations: 0 / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.009059, allocations: 23.98 kB / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.009063, allocations: 4.062 kB / 329.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.009071, allocations: 4 kB / 329.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009073, allocations: 0 / 329.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009074, allocations: 0 / 329.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.009209, allocations: 247.8 kB / 330 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.009224, allocations: 15.89 kB / 330 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.009244, allocations: 8 kB / 330 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.009287, allocations: 4 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.00932, allocations: 15.97 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.009336, allocations: 7.938 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.825e-05/0.009384, allocations: 64.67 kB / 330.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009384, allocations: 0 / 330.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.009559, allocations: 31.94 kB / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001673/0.01123, allocations: 0.6562 MB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.01136, allocations: 64.77 kB / 330.9 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01137, allocations: 0 / 330.9 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.01141, allocations: 44.77 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.01161, allocations: 32.17 kB / 331 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.01199, allocations: 265.1 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.01204, allocations: 79.77 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.01209, allocations: 25.47 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.01217, allocations: 75.36 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01217, allocations: 7.938 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of Templates: time 0.004183/0.01636, allocations: 2.601 MB / 334 MB, free: 14.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.035623585805297]