Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.0009926/0.0009926, 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.002266/0.002266, allocations: 175.2 kB / 24.92 MB, free: 9.191 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.092/1.092, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2985/0.2985, allocations: 32.8 MB / 294.6 MB, free: 1.168 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.447e-05, allocations: 2.312 kB / 323.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00359/0.003625, allocations: 1.749 MB / 325.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004865, allocations: 1.002 MB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.004933, allocations: 0 / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.005224, allocations: 47.75 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.005466, allocations: 103.4 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.005603, allocations: 79.59 kB / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.00574, allocations: 95.7 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.005786, allocations: 4.859 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.005873, allocations: 63.75 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.005951, allocations: 19.92 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.005966, allocations: 4 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.539e-05/0.006031, allocations: 35.98 kB / 326.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.00608, allocations: 31.84 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.006114, allocations: 15.94 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.006277, allocations: 107.5 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.006281, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006282, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.006286, allocations: 0 / 326.7 MB, free: 6.172 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003858/0.006672, allocations: 337.2 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.006709, allocations: 12.02 kB / 327 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.006736, allocations: 8.938 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.00689, allocations: 162.4 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006905, allocations: 384 / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.006915, allocations: 8.359 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.007007, allocations: 53.78 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.007015, allocations: 3.938 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.007022, allocations: 3.984 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.007027, allocations: 0 / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.007048, allocations: 8 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.07e-05/0.007129, allocations: 70.69 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.007203, allocations: 49.3 kB / 327.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.007223, allocations: 16.86 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.007234, allocations: 0 / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.635e-05/0.00731, allocations: 58.22 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.007311, allocations: 0 / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001007/0.007412, allocations: 61.61 kB / 327.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.007441, allocations: 59.34 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.007559, allocations: 213 kB / 327.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.007571, allocations: 25.7 kB / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.007599, allocations: 100.1 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.007627, allocations: 19.89 kB / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.007652, allocations: 17.7 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.007725, allocations: 326.8 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.007738, allocations: 14.81 kB / 328.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.007756, allocations: 17.7 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.007794, allocations: 39.3 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007796, allocations: 0 / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.502e-05/0.007861, allocations: 64.8 kB / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.007872, allocations: 4 kB / 328.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007877, allocations: 4.031 kB / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.00789, allocations: 7.938 kB / 328.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.007945, allocations: 15.94 kB / 328.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007947, allocations: 0 / 328.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.007976, allocations: 11.98 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.00798, allocations: 0 / 328.5 MB, free: 4.23 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 (7): * Single equations (assignments): 7 * 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.148e-05/0.008041, allocations: 119 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.008053, allocations: 7.984 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.398e-05/0.008136, allocations: 70.77 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.008139, allocations: 0 / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.008141, allocations: 7.938 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.008144, allocations: 0 / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.294e-05/0.008217, allocations: 89.84 kB / 328.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.008219, allocations: 7.984 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.008234, allocations: 4 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.008235, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.00824, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008241, allocations: 3.938 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008242, allocations: 0 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.481e-05/0.008307, allocations: 90.7 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.008321, allocations: 15.91 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.008334, allocations: 4 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.008354, allocations: 7.984 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.008378, allocations: 7.938 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.008388, allocations: 4 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.008449, allocations: 76.92 kB / 329 MB, free: 3.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008449, allocations: 0 / 329 MB, free: 3.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001162/0.008565, allocations: 20 kB / 329 MB, free: 3.648 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001068/0.009633, allocations: 0.4908 MB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.00972, allocations: 40.84 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.009725, allocations: 0 / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.009755, allocations: 20.78 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.00989, allocations: 39.69 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.01021, allocations: 231.9 kB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.01024, allocations: 67.33 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.01028, allocations: 16.47 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.01034, allocations: 71.42 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01034, allocations: 0 / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of Templates: time 0.003489/0.01383, allocations: 1.794 MB / 331.7 MB, free: 1.117 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.178875505924225]