Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0009562/0.0009562, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001297/0.001297, allocations: 171.4 kB / 24.92 MB, free: 9.188 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.9593/0.9593, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2729/0.2729, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.37e-05, allocations: 10.27 kB / 325.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.008688/0.008712, allocations: 1.763 MB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.01013, allocations: 1.002 MB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.01021, allocations: 8 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.01417, allocations: 79.62 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.0145, allocations: 115.5 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.01471, allocations: 87.48 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.01485, allocations: 123.6 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.01493, allocations: 8 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.01501, allocations: 59.81 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.0151, allocations: 59.86 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.01511, allocations: 4 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.01518, allocations: 47.92 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.01522, allocations: 19.92 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.01526, allocations: 24.36 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.01541, allocations: 103.6 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01541, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01542, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.01542, allocations: 0 / 328.8 MB, free: 4.078 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.0003346/0.01575, allocations: 333.4 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.01578, allocations: 12.03 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.01581, allocations: 12.92 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.01594, allocations: 149.5 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.01596, allocations: 4.375 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.01597, allocations: 4.375 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.01606, allocations: 69.69 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.01607, allocations: 3.938 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.01608, allocations: 0 / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.01608, allocations: 4 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.0161, allocations: 4 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.01627, allocations: 162 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.01635, allocations: 97.28 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.01637, allocations: 8.859 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.01638, allocations: 4 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/0.01645, allocations: 66.14 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.01645, allocations: 0 / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002396/0.01669, allocations: 117.8 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.01672, allocations: 59.41 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.01681, allocations: 181.1 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.01682, allocations: 29.7 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.01685, allocations: 96.11 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.01687, allocations: 31.77 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.0169, allocations: 17.72 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.01696, allocations: 330.8 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.01698, allocations: 14.81 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.017, allocations: 21.66 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.01704, allocations: 48.56 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.01704, allocations: 0 / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.489e-05/0.0171, allocations: 80.38 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.01712, allocations: 4 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.01712, allocations: 4 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01713, allocations: 0 / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.01719, allocations: 15.94 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.01719, allocations: 0 / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.01722, allocations: 7.984 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.01722, allocations: 0 / 330.8 MB, free: 1.938 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 5.78e-05/0.01728, allocations: 120.6 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.01729, allocations: 15.92 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/0.01738, allocations: 79.16 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.01738, allocations: 0 / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01739, allocations: 3.984 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01739, allocations: 3.984 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.01758, allocations: 291.5 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01758, allocations: 4 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.0176, allocations: 15.94 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01761, allocations: 0 / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.01761, allocations: 0 / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01761, allocations: 3.984 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01762, allocations: 8.109 kB / 331.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.571e-05/0.01771, allocations: 219 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.01772, allocations: 7.953 kB / 331.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.01774, allocations: 4 kB / 331.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.644e-05/0.01777, allocations: 7.984 kB / 331.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.01779, allocations: 4 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.0178, allocations: 3.984 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.01785, allocations: 61.55 kB / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01785, allocations: 4 kB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.01798, allocations: 23.94 kB / 331.6 MB, free: 1.004 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.001137/0.01912, allocations: 0.5676 MB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.487e-05/0.0192, allocations: 44.77 kB / 332.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01921, allocations: 4.062 kB / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.01924, allocations: 36.72 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01941, allocations: 31.86 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.01971, allocations: 234.3 kB / 332.6 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.01975, allocations: 71.33 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.01978, allocations: 13.28 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.01985, allocations: 67.36 kB / 332.7 MB, free: 188 kB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01985, allocations: 4.062 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of Templates: time 0.003262/0.02311, allocations: 2.024 MB / 334.7 MB, free: 14.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.9691205606795847]