Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001058/0.001058, allocations: 80.92 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.001163/0.001163, allocations: 171.9 kB / 24.92 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 0.9975/0.9975, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2965/0.2965, allocations: 34.26 MB / 296.1 MB, free: 0.6914 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 4 kB / 325.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.642e-05, allocations: 3.781 kB / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002667/0.002694, allocations: 1.808 MB / 327.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004017, allocations: 1.002 MB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.004098, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.004396, allocations: 47.69 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.004701, allocations: 91.48 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.004924, allocations: 83.59 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.005101, allocations: 107.6 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.005188, allocations: 7.984 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.005278, allocations: 55.83 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.005347, allocations: 27.92 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.005362, allocations: 7.984 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.005446, allocations: 43.92 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.00549, allocations: 23.86 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.005521, allocations: 16.44 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.005692, allocations: 103.6 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005695, allocations: 0 / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005697, allocations: 0 / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005701, allocations: 0 / 328.8 MB, free: 4.141 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.0003768/0.006078, allocations: 325.4 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.00611, allocations: 8.031 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.006142, allocations: 12.92 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.006303, allocations: 151.4 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.006317, allocations: 384 / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.006334, allocations: 4.375 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.006446, allocations: 65.75 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006456, allocations: 3.938 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.006462, allocations: 0 / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.006468, allocations: 4 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.006492, allocations: 7.938 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.006704, allocations: 170 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.006799, allocations: 85.3 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.006818, allocations: 8.859 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.00683, allocations: 0 / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.006934, allocations: 78.06 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.006934, allocations: 0 / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003187/0.007253, allocations: 109.5 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.007289, allocations: 59.39 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007406, allocations: 177.3 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.007422, allocations: 29.7 kB / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.007674, allocations: 96.11 kB / 330.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.007708, allocations: 27.78 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.007742, allocations: 25.7 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.00784, allocations: 326.8 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.00786, allocations: 6.828 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.007898, allocations: 25.7 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.007951, allocations: 44.45 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.007953, allocations: 0 / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.742e-05/0.00805, allocations: 76.81 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.008065, allocations: 11.88 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.00807, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.008085, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.235e-05/0.008168, allocations: 23.98 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.008171, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.008203, allocations: 4 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.00821, allocations: 4 kB / 330.7 MB, free: 2.031 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 8.063e-05/0.008291, allocations: 116.7 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.008306, allocations: 11.92 kB / 330.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.008433, allocations: 79.11 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.008439, allocations: 7.984 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.008441, allocations: 0 / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.008445, allocations: 0 / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.008754, allocations: 303.5 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.008757, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.0088, allocations: 12 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.008804, allocations: 0 / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.008826, allocations: 7.984 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.008828, allocations: 0 / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.008831, allocations: 7.969 kB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.008963, allocations: 207.1 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.008978, allocations: 7.953 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.008999, allocations: 8 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.009043, allocations: 3.984 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.009073, allocations: 7.938 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.009087, allocations: 7.984 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.116e-05/0.009128, allocations: 47.64 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009129, allocations: 0 / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.009278, allocations: 31.92 kB / 331.6 MB, free: 1.109 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.001275/0.01055, allocations: 0.5816 MB / 332.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.01066, allocations: 40.78 kB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.01066, allocations: 4.062 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.0107, allocations: 28.83 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.01089, allocations: 31.86 kB / 332.3 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.01123, allocations: 215.7 kB / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.01127, allocations: 67.33 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.952e-05/0.01131, allocations: 17.27 kB / 332.6 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.01137, allocations: 71.36 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01138, allocations: 4.062 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of Templates: time 0.003687/0.01506, allocations: 2.014 MB / 334.6 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.939962255768478]