Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001079/0.001079, 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.001207/0.001207, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.251/0.251, allocations: 34.25 MB / 296.1 MB, free: 0.7344 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.981e-05, allocations: 5.516 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002412/0.002442, allocations: 1.81 MB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003714, allocations: 1.01 MB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.003783, allocations: 0 / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.00407, allocations: 51.69 kB / 328.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.004323, allocations: 99.53 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.004474, allocations: 87.53 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004616, allocations: 99.7 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.887e-05/0.004695, allocations: 7.984 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.004781, allocations: 59.77 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.004848, allocations: 23.92 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.004862, allocations: 4 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.004936, allocations: 47.91 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.004982, allocations: 35.84 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.005015, allocations: 16.44 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.005185, allocations: 119.5 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005187, allocations: 0 / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.005189, allocations: 3.984 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.005193, allocations: 0 / 328.8 MB, free: 4.086 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.0003587/0.005551, allocations: 341.3 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.005583, allocations: 12.03 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.005614, allocations: 12.92 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.005769, allocations: 162.4 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.005783, allocations: 4.375 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.005798, allocations: 4.375 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.799e-05/0.005896, allocations: 61.77 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.005907, allocations: 7.875 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.005914, allocations: 4 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.005921, allocations: 4 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.005946, allocations: 7.984 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.00616, allocations: 165.9 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.006244, allocations: 85.36 kB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.006261, allocations: 12.8 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.006272, allocations: 4 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.429e-05/0.006357, allocations: 78.08 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.006358, allocations: 0 / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002703/0.006628, allocations: 113.8 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.006655, allocations: 51.41 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.006786, allocations: 216 kB / 330.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.006798, allocations: 25.7 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.006848, allocations: 100.1 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.006873, allocations: 27.78 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.006903, allocations: 25.7 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.006973, allocations: 326.8 kB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.006991, allocations: 18.81 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.00702, allocations: 17.84 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.007098, allocations: 52.44 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.007098, allocations: 0 / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.567e-05/0.007174, allocations: 72.38 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.007184, allocations: 4 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.007188, allocations: 0 / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.007199, allocations: 4 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.007256, allocations: 16 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.00726, allocations: 8.016 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.007287, allocations: 8 kB / 330.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.007292, allocations: 0 / 330.9 MB, free: 1.891 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.027e-05/0.007352, allocations: 116.7 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.007366, allocations: 15.92 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.007464, allocations: 79.06 kB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007467, allocations: 4 kB / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007468, allocations: 0 / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007471, allocations: 0 / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.007667, allocations: 303.5 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.00767, allocations: 4 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.007694, allocations: 11.98 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007696, allocations: 0 / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.007703, allocations: 7.938 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007705, allocations: 4 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007706, allocations: 3.938 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.007871, allocations: 215 kB / 331.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.007883, allocations: 11.91 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.007898, allocations: 11.94 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.007946, allocations: 4.031 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.007972, allocations: 11.97 kB / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.007983, allocations: 4 kB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.177e-05/0.008045, allocations: 80.98 kB / 331.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008045, allocations: 0 / 331.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.008191, allocations: 23.94 kB / 331.7 MB, free: 0.9219 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.001193/0.009384, allocations: 0.5756 MB / 332.3 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.665e-05/0.009461, allocations: 40.78 kB / 332.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.009464, allocations: 4 kB / 332.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.009495, allocations: 28.77 kB / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.00967, allocations: 42.14 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.009982, allocations: 256.4 kB / 332.7 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.01002, allocations: 75.33 kB / 332.8 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.01006, allocations: 17.27 kB / 332.8 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.01012, allocations: 67.36 kB / 332.8 MB, free: 80 kB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01012, allocations: 0 / 332.8 MB, free: 80 kB / 298.7 MB Notification: Performance of Templates: time 0.003537/0.01365, allocations: 2.041 MB / 334.9 MB, free: 14.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.9459781502373517]