Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001165/0.001165, 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.001068/0.001068, 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 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2811/0.2811, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.687e-05, allocations: 6.969 kB / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003438/0.003465, allocations: 1.796 MB / 325.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.00583, allocations: 1.741 MB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.005926, allocations: 4 kB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.006225, allocations: 27.78 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.006572, allocations: 99.47 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.006782, allocations: 87.53 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.006938, allocations: 111.7 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.007021, allocations: 5.375 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.007109, allocations: 55.78 kB / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.007216, allocations: 39.89 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.007231, allocations: 4 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.007418, allocations: 111.8 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.007464, allocations: 19.91 kB / 327.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.007499, allocations: 19.94 kB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.007735, allocations: 167.4 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.007737, allocations: 0 / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007739, allocations: 0 / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.007743, allocations: 4 kB / 327.6 MB, free: 5.277 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.0003971/0.00814, allocations: 329.3 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.008178, allocations: 12.03 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.008211, allocations: 8.922 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.008388, allocations: 142.1 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.008404, allocations: 384 / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.008424, allocations: 4.375 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.008578, allocations: 120.5 kB / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.008589, allocations: 0 / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.008597, allocations: 0 / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.008603, allocations: 0 / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.008632, allocations: 10.83 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.008865, allocations: 173.9 kB / 328.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.459e-05/0.00896, allocations: 85.28 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.008982, allocations: 16.78 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.008995, allocations: 0 / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.009096, allocations: 66.22 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.009098, allocations: 0 / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002963/0.009394, allocations: 121.5 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.009427, allocations: 77.11 kB / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.009531, allocations: 155 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.009546, allocations: 37.62 kB / 329 MB, free: 3.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.009576, allocations: 88.12 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.009603, allocations: 31.72 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.009634, allocations: 21.72 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.00971, allocations: 330.8 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.009725, allocations: 10.83 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.00976, allocations: 56.27 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.009803, allocations: 44.45 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.009804, allocations: 0 / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.522e-05/0.00988, allocations: 64.44 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.009893, allocations: 10.19 kB / 329.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.009897, allocations: 7.922 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.009909, allocations: 3.984 kB / 329.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.00997, allocations: 15.94 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.009973, allocations: 8.062 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.01, allocations: 4 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.01001, allocations: 4.375 kB / 329.7 MB, free: 3.055 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.228e-05/0.01007, allocations: 124.6 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.01008, allocations: 4 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.01019, allocations: 74.38 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01019, allocations: 4 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01019, allocations: 4 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01019, allocations: 0 / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.01042, allocations: 299.4 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01042, allocations: 0 / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.01045, allocations: 12 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01045, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.01045, allocations: 4 kB / 330.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01046, allocations: 4 kB / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01046, allocations: 0 / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.01056, allocations: 215 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.01057, allocations: 7.953 kB / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.01059, allocations: 4 kB / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.01063, allocations: 8.031 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.01065, allocations: 7.984 kB / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01066, allocations: 0 / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.0107, allocations: 50.28 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0107, allocations: 0 / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.01089, allocations: 47.86 kB / 330.5 MB, free: 2.137 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.001499/0.01239, allocations: 0.7162 MB / 331.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.0125, allocations: 44.78 kB / 331.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.01251, allocations: 0 / 331.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.01254, allocations: 25 kB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.01272, allocations: 36.06 kB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.01301, allocations: 199.6 kB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.01305, allocations: 67.47 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.01309, allocations: 16.97 kB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.01317, allocations: 79.34 kB / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01317, allocations: 0 / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of Templates: time 0.004303/0.01748, allocations: 2.77 MB / 334.5 MB, free: 14.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.979000431019813]