Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001156/0.001156, allocations: 87.33 kB / 20.42 MB, free: 4.133 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.001201/0.001201, allocations: 173 kB / 23.8 MB, free: 0.7617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.969/0.969, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1519/0.1519, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.341e-05, allocations: 9.344 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002731/0.002755, allocations: 1.734 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003879, allocations: 0.7959 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.003929, allocations: 4 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.004152, allocations: 47.75 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.004322, allocations: 59.7 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.004508, allocations: 83.69 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.00464, allocations: 99.69 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.004706, allocations: 8.219 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.004782, allocations: 51.78 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.004847, allocations: 27.91 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.004864, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.004943, allocations: 43.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.004985, allocations: 19.92 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.005021, allocations: 23.91 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.005187, allocations: 103.6 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.005189, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005189, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005193, allocations: 3.938 kB / 350.8 MB, free: 6.246 MB / 282.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.0003277/0.005521, allocations: 447.9 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.005549, allocations: 8.031 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.005587, allocations: 16.84 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.005719, allocations: 149.8 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.005733, allocations: 384 / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.005749, allocations: 4.375 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.005854, allocations: 62.94 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005865, allocations: 3.938 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005873, allocations: 4 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.005879, allocations: 0 / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.00592, allocations: 15.92 kB / 351.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.006196, allocations: 283.8 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.006323, allocations: 59.16 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.00636, allocations: 19.61 kB / 351.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.006372, allocations: 11.88 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.948e-05/0.006471, allocations: 69.05 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.006473, allocations: 0 / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004431/0.006916, allocations: 157.4 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.006944, allocations: 51.41 kB / 352.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.007113, allocations: 228 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.007125, allocations: 29.7 kB / 352.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.007173, allocations: 150.9 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.007205, allocations: 31.73 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.007246, allocations: 31.38 kB / 352.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.007323, allocations: 0.4923 MB / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.007359, allocations: 19.98 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.007406, allocations: 31.38 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.00748, allocations: 55.23 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007481, allocations: 0 / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001347/0.007616, allocations: 90.02 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.007628, allocations: 4 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.007632, allocations: 80 / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007644, allocations: 4 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.007723, allocations: 19.98 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.007727, allocations: 8.016 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.007766, allocations: 8 kB / 353.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.007772, allocations: 0 / 353.4 MB, free: 3.5 MB / 282.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.026e-05/0.007832, allocations: 172.4 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.007857, allocations: 15.91 kB / 353.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.00804, allocations: 99.14 kB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.008043, allocations: 3.984 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.008046, allocations: 0 / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008049, allocations: 0 / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.008313, allocations: 393 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008314, allocations: 0 / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.008341, allocations: 15.94 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008343, allocations: 0 / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.00835, allocations: 4 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008352, allocations: 7.984 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008353, allocations: 0 / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.551e-05/0.008448, allocations: 267.4 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.008458, allocations: 7.953 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.008472, allocations: 0 / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.008511, allocations: 8 kB / 354.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.008535, allocations: 12.02 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.008544, allocations: 0 / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.008595, allocations: 171.8 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008595, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.008745, allocations: 27.92 kB / 354.6 MB, free: 2.23 MB / 282.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.0008674/0.009613, allocations: 439.9 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.009709, allocations: 59.53 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.00971, allocations: 0 / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.009746, allocations: 39.83 kB / 355.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.009963, allocations: 35.98 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.01025, allocations: 213.1 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.01028, allocations: 71.33 kB / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.876e-05/0.01031, allocations: 12.48 kB / 355.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.01034, allocations: 20.5 kB / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01034, allocations: 4.062 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of Templates: time 0.003168/0.01351, allocations: 1.974 MB / 357.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.060390624217689]