Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.0009686/0.0009686, 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.000987/0.000987, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.9451/0.9451, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2678/0.2678, allocations: 34.25 MB / 296.1 MB, free: 0.5977 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 3.984 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.846e-05, allocations: 3.188 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00224/0.002258, allocations: 2.048 MB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003486, allocations: 1.088 MB / 328.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.003573, allocations: 7.938 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.003831, allocations: 51.62 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.004074, allocations: 111.3 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.004252, allocations: 115.5 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.004468, allocations: 211.8 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.004557, allocations: 34.38 kB / 329 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.00468, allocations: 107.7 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.004766, allocations: 59.8 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.004786, allocations: 16 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.004859, allocations: 51.97 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.004911, allocations: 39.84 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.00496, allocations: 47.84 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.005156, allocations: 171.2 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.005157, allocations: 0 / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005158, allocations: 0 / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.005162, allocations: 0 / 329.5 MB, free: 3.461 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005051/0.005667, allocations: 472.5 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.005695, allocations: 12.03 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.005732, allocations: 16.92 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.005905, allocations: 173.4 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.005917, allocations: 4.375 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.005941, allocations: 12.38 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.006122, allocations: 162.9 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006131, allocations: 3.938 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.006141, allocations: 3.984 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006148, allocations: 4 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.006194, allocations: 34.73 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.006512, allocations: 386 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.006679, allocations: 109.3 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.428e-05/0.006714, allocations: 32.83 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.006725, allocations: 0 / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.006847, allocations: 120.7 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.006848, allocations: 4 kB / 331 MB, free: 1.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000148/0.006996, allocations: 90.75 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.007027, allocations: 55.41 kB / 331.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.007148, allocations: 209.1 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.007164, allocations: 37.64 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.007213, allocations: 112.9 kB / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.007238, allocations: 39.72 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.007279, allocations: 37.69 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.007358, allocations: 334.7 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.007396, allocations: 44.52 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.007446, allocations: 81.98 kB / 332 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.00753, allocations: 113.7 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007531, allocations: 0 / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001327/0.007664, allocations: 163.8 kB / 332.3 MB, free: 380 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.007687, allocations: 29.7 kB / 332.3 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007691, allocations: 4.125 kB / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.007703, allocations: 4 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.007785, allocations: 31.98 kB / 332.3 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.00779, allocations: 11.92 kB / 332.3 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.007853, allocations: 23.88 kB / 332.4 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.007864, allocations: 8 kB / 332.4 MB, free: 260 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.104e-05/0.007935, allocations: 121.1 kB / 332.5 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.007953, allocations: 15.98 kB / 332.5 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.008064, allocations: 100.7 kB / 332.6 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008065, allocations: 4 kB / 332.6 MB, free: 0 / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.008067, allocations: 0 / 332.6 MB, free: 0 / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.00808, allocations: 4.047 kB / 332.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.008166, allocations: 113.7 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.008169, allocations: 3.938 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.008225, allocations: 19.92 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008227, allocations: 4 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.008235, allocations: 0 / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.008235, allocations: 0 / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.008236, allocations: 0 / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.008381, allocations: 143.1 kB / 332.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.008397, allocations: 23.84 kB / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.008415, allocations: 3.984 kB / 332.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.008469, allocations: 19.98 kB / 332.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.008513, allocations: 15.97 kB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.008523, allocations: 4 kB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.008576, allocations: 70.23 kB / 333 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008576, allocations: 0 / 333 MB, free: 15.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.008707, allocations: 43.89 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009773/0.009685, allocations: 0.5125 MB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.00983, allocations: 149.9 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.009834, allocations: 4 kB / 333.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.009878, allocations: 32.78 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.01002, allocations: 60.19 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.01042, allocations: 307.4 kB / 334.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.01047, allocations: 75.98 kB / 334.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.01052, allocations: 21.47 kB / 334.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.01061, allocations: 91.28 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01061, allocations: 3.938 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Templates: time 0.004509/0.01512, allocations: 3.209 MB / 337.5 MB, free: 11.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.9944275869056582]