Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.0009332/0.0009332, 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.0009963/0.0009963, allocations: 173.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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2669/0.2669, allocations: 34.26 MB / 296.1 MB, free: 0.6641 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.638e-05, allocations: 3.672 kB / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00596/0.005986, allocations: 1.813 MB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.007422, allocations: 1.006 MB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.01052, allocations: 4 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.01079, allocations: 39.72 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.01109, allocations: 95.47 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.0113, allocations: 79.59 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.01146, allocations: 107.7 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.01154, allocations: 11.97 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.01163, allocations: 55.78 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.01171, allocations: 23.91 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.01172, allocations: 4 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.01181, allocations: 43.92 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.01186, allocations: 27.86 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.01189, allocations: 24.41 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.01206, allocations: 95.66 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01206, allocations: 0 / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01206, allocations: 0 / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.01206, allocations: 4 kB / 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.0003531/0.01241, allocations: 325.4 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.01245, allocations: 12.03 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.01248, allocations: 4.938 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.01263, allocations: 155.4 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.01265, allocations: 384 / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.01266, allocations: 4.375 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.01276, allocations: 61.77 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.01277, allocations: 3.938 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.01278, allocations: 0 / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.01278, allocations: 4 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.01281, allocations: 15.92 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.01301, allocations: 162 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.0131, allocations: 89.33 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.01313, allocations: 12.86 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.01314, allocations: 0 / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.343e-05/0.01323, allocations: 70.09 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.01323, allocations: 0 / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.003317/0.01655, allocations: 117.5 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.01657, allocations: 51.41 kB / 329.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.01669, allocations: 177.3 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.01671, allocations: 29.7 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.01674, allocations: 96.11 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.01677, allocations: 31.77 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.01681, allocations: 21.72 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.01689, allocations: 326.8 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.01691, allocations: 6.828 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.01694, allocations: 25.7 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.017, allocations: 44.45 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.017, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.84e-05/0.01708, allocations: 68.81 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.0171, allocations: 8 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.0171, allocations: 0 / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01712, allocations: 7.922 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.01719, allocations: 23.94 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.01719, allocations: 4 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.01722, allocations: 4 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01723, allocations: 4.031 kB / 330.7 MB, free: 2.035 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 7.101e-05/0.0173, allocations: 124.6 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.01732, allocations: 11.94 kB / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.01743, allocations: 79.06 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01743, allocations: 0 / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01744, allocations: 4 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01744, allocations: 0 / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.01768, allocations: 295.5 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01768, allocations: 4 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.01771, allocations: 11.98 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01772, allocations: 4.031 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.01772, allocations: 4 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01773, allocations: 4 kB / 331.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01773, allocations: 0 / 331.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.01785, allocations: 211 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.01786, allocations: 15.92 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01788, allocations: 4 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.01794, allocations: 4 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.01796, allocations: 7.984 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01798, allocations: 0 / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.137e-05/0.01803, allocations: 59.58 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01803, allocations: 0 / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01825, allocations: 27.94 kB / 331.6 MB, free: 1.105 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.004439/0.02269, allocations: 0.5802 MB / 332.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.02279, allocations: 40.78 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.02279, allocations: 3.938 kB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.02283, allocations: 20.84 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.02305, allocations: 35.91 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.0003197/0.02337, allocations: 219.6 kB / 332.5 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.367e-05/0.02341, allocations: 67.34 kB / 332.5 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.02346, allocations: 21.39 kB / 332.6 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.02353, allocations: 67.36 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02353, allocations: 0 / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of Templates: time 0.004528/0.02806, allocations: 2.018 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.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.9896532627753913]