Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.0009688/0.0009688, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001039/0.001039, allocations: 170.5 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2577/0.2577, allocations: 34.27 MB / 296.1 MB, free: 0.7422 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.847e-05, allocations: 3.516 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002587/0.002605, allocations: 1.981 MB / 327.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.004293, allocations: 1.116 MB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.004397, allocations: 0 / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.00481, allocations: 223.2 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.005206, allocations: 215.1 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.005517, allocations: 115.6 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.005875, allocations: 275.2 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.006, allocations: 15.12 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.006216, allocations: 151.5 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.00657, allocations: 135.7 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.006593, allocations: 8 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.006717, allocations: 63.92 kB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.006788, allocations: 59.7 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.006842, allocations: 51.78 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.007075, allocations: 195.2 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.007079, allocations: 4 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.00708, allocations: 0 / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.007084, allocations: 4 kB / 330 MB, free: 2.961 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004585/0.007543, allocations: 484.2 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.007577, allocations: 8.031 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.00762, allocations: 16.92 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.007833, allocations: 217.8 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.00785, allocations: 4.375 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.007875, allocations: 16.3 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.008021, allocations: 105.8 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.008032, allocations: 7.938 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.008042, allocations: 8 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.008048, allocations: 0 / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.00809, allocations: 25.64 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.008402, allocations: 308.8 kB / 331.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.008607, allocations: 182.6 kB / 331.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.00864, allocations: 29.91 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.008655, allocations: 4 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.008795, allocations: 115.8 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.008797, allocations: 0 / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005959/0.009393, allocations: 320.6 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.009431, allocations: 85.11 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.009626, allocations: 320.6 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.009644, allocations: 29.7 kB / 332.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.009691, allocations: 129.5 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.009738, allocations: 71.41 kB / 332.4 MB, free: 348 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.009783, allocations: 45.69 kB / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.009879, allocations: 350.7 kB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.009911, allocations: 22.81 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.009958, allocations: 61.97 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.01005, allocations: 100.1 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01005, allocations: 4 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003813/0.01043, allocations: 135.2 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01044, allocations: 8.062 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.01044, allocations: 0 / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01046, allocations: 4 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.01055, allocations: 43.92 kB / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01056, allocations: 7.984 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.0106, allocations: 15.89 kB / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.01061, allocations: 4 kB / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.175e-05/0.01069, allocations: 128.6 kB / 333.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.01072, allocations: 23.97 kB / 333.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.01089, allocations: 167.9 kB / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01089, allocations: 0 / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.0109, allocations: 4 kB / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.0109, allocations: 0 / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.01129, allocations: 0.5555 MB / 334.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.0113, allocations: 4 kB / 334.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.01135, allocations: 31.92 kB / 334.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01136, allocations: 7.938 kB / 334.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01137, allocations: 16.11 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01137, allocations: 0 / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01137, allocations: 4 kB / 334.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.01156, allocations: 408.7 kB / 334.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.01159, allocations: 31.73 kB / 334.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.01162, allocations: 12 kB / 334.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.0117, allocations: 8 kB / 334.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.01173, allocations: 19.91 kB / 334.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.01175, allocations: 15.98 kB / 334.6 MB, free: 14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.01187, allocations: 139.4 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01187, allocations: 4 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.01211, allocations: 55.89 kB / 334.8 MB, free: 13.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001451/0.01356, allocations: 0.66 MB / 335.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01371, allocations: 104.5 kB / 335.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.01372, allocations: 4 kB / 335.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.01378, allocations: 57.03 kB / 335.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.01407, allocations: 83.45 kB / 335.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.0146, allocations: 499.7 kB / 336.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.01466, allocations: 104.3 kB / 336.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.288e-05/0.01474, allocations: 37.98 kB / 336.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.01483, allocations: 95.34 kB / 336.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01483, allocations: 0 / 336.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of Templates: time 0.005514/0.02035, allocations: 3.624 MB / 340 MB, free: 8.887 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.000689714215696]