Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009604/0.0009604, 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.00113/0.00113, allocations: 173 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.086 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.265/0.265, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 4 kB / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.435e-05, allocations: 6 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002811/0.002835, allocations: 1.807 MB / 327.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004075, allocations: 1.002 MB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.004143, allocations: 0 / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.004405, allocations: 43.7 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.004666, allocations: 99.47 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.004854, allocations: 71.67 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.005015, allocations: 115.6 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.005096, allocations: 4 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.005184, allocations: 51.84 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.005256, allocations: 27.89 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.00527, allocations: 11.94 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.047e-05/0.00535, allocations: 43.92 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.005394, allocations: 27.84 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.005426, allocations: 16.44 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.005583, allocations: 95.66 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005585, allocations: 4 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005586, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.00559, allocations: 0 / 328.8 MB, free: 4.125 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.0003507/0.005941, allocations: 325.5 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.005968, allocations: 8.031 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.006003, allocations: 16.8 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.006147, allocations: 151.4 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.006159, allocations: 384 / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.006174, allocations: 4.375 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/0.006271, allocations: 65.77 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.00628, allocations: 7.938 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.006288, allocations: 3.984 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.006294, allocations: 4 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.006315, allocations: 4 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.006516, allocations: 170 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.006601, allocations: 85.28 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.006618, allocations: 8.859 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.006628, allocations: 0 / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.613e-05/0.006714, allocations: 74.14 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.006715, allocations: 0 / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002605/0.006976, allocations: 113.5 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.007003, allocations: 51.41 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.007102, allocations: 181.3 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.007114, allocations: 29.64 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.007143, allocations: 96.11 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.007168, allocations: 27.78 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.007199, allocations: 21.72 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.007274, allocations: 330.8 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.007289, allocations: 6.828 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.007312, allocations: 29.7 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.007352, allocations: 36.52 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007352, allocations: 4 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.906e-05/0.007432, allocations: 72.38 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.007442, allocations: 8 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007446, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007458, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.007521, allocations: 23.92 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.007524, allocations: 4.031 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.007549, allocations: 4 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.007555, allocations: 4 kB / 330.7 MB, free: 2.016 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.458e-05/0.00762, allocations: 124.6 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.007632, allocations: 12.3 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.007893, allocations: 79.06 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.007896, allocations: 4 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.007898, allocations: 0 / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.007903, allocations: 7.984 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.008107, allocations: 299.5 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008109, allocations: 0 / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.008136, allocations: 8 kB / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.008138, allocations: 0 / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.008144, allocations: 8 kB / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.008147, allocations: 3.984 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008149, allocations: 0 / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.618e-05/0.008245, allocations: 215 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.008256, allocations: 7.953 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.008272, allocations: 8 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.008309, allocations: 0 / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.008335, allocations: 12.02 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.008347, allocations: 4 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.548e-05/0.008392, allocations: 47.64 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008392, allocations: 0 / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.008543, allocations: 31.92 kB / 331.6 MB, free: 1.09 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.001213/0.009756, allocations: 0.5776 MB / 332.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.00987, allocations: 44.77 kB / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.009874, allocations: 0 / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.009907, allocations: 24.84 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.01008, allocations: 27.92 kB / 332.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.01039, allocations: 227.8 kB / 332.5 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.01043, allocations: 71.33 kB / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.01047, allocations: 21.2 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.01053, allocations: 67.38 kB / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01053, allocations: 0 / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of Templates: time 0.003385/0.01391, allocations: 2.015 MB / 334.6 MB, free: 14.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.9553858167491853]