Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009266/0.0009266, allocations: 80.8 kB / 21.49 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.001111/0.001111, allocations: 172.2 kB / 24.92 MB, free: 9.113 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2766/0.2766, allocations: 34.26 MB / 296.1 MB, free: 0.6562 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.188e-05, allocations: 5.438 kB / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003199/0.003221, allocations: 1.97 MB / 327.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.005097, allocations: 1.107 MB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.005185, allocations: 7.938 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.005625, allocations: 251.2 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.006022, allocations: 239 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.006243, allocations: 119.5 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.006557, allocations: 283.7 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.006646, allocations: 18.61 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.006843, allocations: 159.6 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.007039, allocations: 163.7 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.00706, allocations: 8 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.00718, allocations: 71.84 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.00726, allocations: 75.69 kB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.007314, allocations: 39.8 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.007572, allocations: 203.2 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.007573, allocations: 3.938 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007574, allocations: 0 / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.007578, allocations: 0 / 330.1 MB, free: 2.812 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.0004953/0.008073, allocations: 496.1 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.008102, allocations: 8.031 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.008146, allocations: 28.91 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.008376, allocations: 232 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.008393, allocations: 8.312 kB / 330.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.008414, allocations: 8.375 kB / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.008556, allocations: 109.8 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.008566, allocations: 3.938 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.008576, allocations: 4 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008582, allocations: 4 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.008635, allocations: 29.56 kB / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.008949, allocations: 304.9 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.009165, allocations: 190.7 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.009203, allocations: 25.66 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.009214, allocations: 4 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.00935, allocations: 107.9 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.009351, allocations: 3.938 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006772/0.01003, allocations: 333 kB / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.01007, allocations: 77.11 kB / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.01035, allocations: 357 kB / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01037, allocations: 33.7 kB / 332.4 MB, free: 324 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.01043, allocations: 117.6 kB / 332.5 MB, free: 200 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.01049, allocations: 75.36 kB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.01054, allocations: 45.69 kB / 332.6 MB, free: 72 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01067, allocations: 354.7 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.01072, allocations: 22.81 kB / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.01078, allocations: 65.31 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.0109, allocations: 100 kB / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.0109, allocations: 4 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001707/0.01107, allocations: 135.2 kB / 333.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.01109, allocations: 4 kB / 333.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.01109, allocations: 0 / 333.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.0111, allocations: 4 kB / 333.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.01122, allocations: 55.97 kB / 333.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.01123, allocations: 0 / 333.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.01129, allocations: 7.938 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.0113, allocations: 8 kB / 333.4 MB, free: 15.29 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 9.036e-05/0.01139, allocations: 132.6 kB / 333.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.01142, allocations: 19.98 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.01166, allocations: 161.4 kB / 333.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01166, allocations: 4 kB / 333.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01167, allocations: 0 / 333.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01167, allocations: 0 / 333.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.01217, allocations: 0.5672 MB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01217, allocations: 4 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.01225, allocations: 31.92 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.01225, allocations: 7.938 kB / 334.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.01227, allocations: 8 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01227, allocations: 240 / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.01227, allocations: 4 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.01252, allocations: 416.1 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.01255, allocations: 31.7 kB / 334.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.01258, allocations: 11.98 kB / 334.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.01271, allocations: 8 kB / 334.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.01275, allocations: 19.97 kB / 334.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.01277, allocations: 11.94 kB / 334.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.01293, allocations: 167.5 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01293, allocations: 0 / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.01325, allocations: 55.88 kB / 335 MB, free: 13.55 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.001882/0.01513, allocations: 0.6687 MB / 335.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.0153, allocations: 104.5 kB / 335.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.01531, allocations: 0 / 335.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.01539, allocations: 64.7 kB / 335.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01569, allocations: 75.86 kB / 335.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.01617, allocations: 0.5086 MB / 336.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.01623, allocations: 100.3 kB / 336.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.01629, allocations: 45.92 kB / 336.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.0164, allocations: 95.34 kB / 336.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0164, allocations: 0 / 336.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of Templates: time 0.00475/0.02115, allocations: 3.642 MB / 340.3 MB, free: 8.598 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.154123148880899]