Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.0009725/0.0009725, allocations: 80.92 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.001122/0.001122, allocations: 169 kB / 24.91 MB, free: 8.723 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.9844/0.9844, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2598/0.2598, allocations: 34.26 MB / 296.1 MB, free: 0.707 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/3.833e-05, allocations: 3.812 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00248/0.002518, allocations: 1.77 MB / 327.1 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.003829, allocations: 1.006 MB / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.003909, allocations: 0 / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.004176, allocations: 39.78 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.004431, allocations: 103.4 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.00465, allocations: 79.66 kB / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004791, allocations: 111.6 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.004873, allocations: 4 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.004957, allocations: 51.84 kB / 328.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.005024, allocations: 31.89 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.005037, allocations: 4 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.005111, allocations: 51.86 kB / 328.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.005155, allocations: 23.86 kB / 328.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.005187, allocations: 24.42 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.005345, allocations: 95.66 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005348, allocations: 0 / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.005349, allocations: 0 / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.005352, allocations: 0 / 328.7 MB, free: 4.266 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.0004049/0.005757, allocations: 329.5 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.005787, allocations: 8.031 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.005815, allocations: 8.922 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.005965, allocations: 158.5 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.005978, allocations: 384 / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005997, allocations: 4.375 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.006102, allocations: 65.75 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006111, allocations: 3.938 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.006119, allocations: 4 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.006125, allocations: 4 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.006146, allocations: 4 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.006344, allocations: 173.9 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.006431, allocations: 89.28 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.006449, allocations: 8.859 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.00646, allocations: 4 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.758e-05/0.006548, allocations: 70.12 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.006549, allocations: 4 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002664/0.006815, allocations: 109.5 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.006847, allocations: 59.39 kB / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006954, allocations: 176.3 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.006968, allocations: 25.7 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.00715, allocations: 108 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.007175, allocations: 23.8 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.007215, allocations: 25.69 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.00729, allocations: 326.8 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.007308, allocations: 10.83 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.007332, allocations: 25.69 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.007375, allocations: 44.52 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.007376, allocations: 0 / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.889e-05/0.007455, allocations: 76.38 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.007468, allocations: 8.031 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.007475, allocations: 4 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.007487, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.007548, allocations: 15.98 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.007551, allocations: 7.875 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.007578, allocations: 4 kB / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.007582, allocations: 0 / 330.7 MB, free: 2.133 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.633e-05/0.007648, allocations: 120.7 kB / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.00766, allocations: 11.94 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.00776, allocations: 79.06 kB / 330.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007762, allocations: 4 kB / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.007763, allocations: 0 / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.007766, allocations: 0 / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.007961, allocations: 296 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.007963, allocations: 0 / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.007992, allocations: 15.98 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.007995, allocations: 4 kB / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.008001, allocations: 0 / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008002, allocations: 0 / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008003, allocations: 80 / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.155e-05/0.008094, allocations: 223 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.008111, allocations: 15.89 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008126, allocations: 4 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.008164, allocations: 4 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.008185, allocations: 3.984 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.008195, allocations: 4 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.008238, allocations: 60.67 kB / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008238, allocations: 0 / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.008375, allocations: 27.94 kB / 331.5 MB, free: 1.207 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.001191/0.009565, allocations: 0.5775 MB / 332.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.545e-05/0.009661, allocations: 36.84 kB / 332.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.009665, allocations: 0 / 332.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.009703, allocations: 32.86 kB / 332.2 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.009885, allocations: 35.22 kB / 332.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.0102, allocations: 231.6 kB / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.01024, allocations: 71.33 kB / 332.5 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.01027, allocations: 17.28 kB / 332.5 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.01033, allocations: 71.3 kB / 332.6 MB, free: 400 kB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01033, allocations: 0 / 332.6 MB, free: 400 kB / 298.7 MB Notification: Performance of Templates: time 0.003961/0.01429, allocations: 2.005 MB / 334.6 MB, free: 14.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.929334316868335]