Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.0008676/0.0008676, allocations: 80.8 kB / 21.49 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.003639/0.003639, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.9996/0.9996, 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.2704/0.2704, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.351e-05, allocations: 3.75 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002376/0.002399, allocations: 1.708 MB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003617, allocations: 0.9981 MB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.003705, allocations: 0 / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.004056, allocations: 67.59 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.004482, allocations: 107.5 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.004692, allocations: 75.67 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.004861, allocations: 115.5 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.004905, allocations: 240 / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.005136, allocations: 51.89 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.00523, allocations: 43.89 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.005245, allocations: 4 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.005323, allocations: 35.92 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.00537, allocations: 27.84 kB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.005401, allocations: 16.44 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.005549, allocations: 91.59 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005552, allocations: 0 / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005553, allocations: 0 / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.005556, allocations: 0 / 328.7 MB, free: 4.273 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.0003484/0.005905, allocations: 305.7 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.005934, allocations: 12.03 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.005964, allocations: 8.938 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.006113, allocations: 155.4 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.006129, allocations: 384 / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.00614, allocations: 4.375 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.006249, allocations: 65.7 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.006256, allocations: 3.938 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.006264, allocations: 4 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.006269, allocations: 3.984 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.006288, allocations: 4 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.46e-05/0.006372, allocations: 70.69 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/0.006451, allocations: 45.42 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.006468, allocations: 8.859 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.006479, allocations: 0 / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.083e-05/0.006559, allocations: 62.16 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.00656, allocations: 0 / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001175/0.006678, allocations: 57.67 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.006708, allocations: 59.34 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.006806, allocations: 181.3 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.006819, allocations: 25.7 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.006844, allocations: 96.05 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.006871, allocations: 19.84 kB / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.006898, allocations: 21.69 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.006977, allocations: 322.8 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.006994, allocations: 6.828 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.007019, allocations: 21.7 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.00706, allocations: 35.36 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007062, allocations: 4 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.923e-05/0.007141, allocations: 60.44 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.007153, allocations: 4 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007158, allocations: 4 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.007169, allocations: 0 / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.007226, allocations: 11.94 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.007229, allocations: 3.984 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.007261, allocations: 8 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.007265, allocations: 0 / 330.3 MB, free: 2.434 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 8.775e-05/0.007353, allocations: 116.6 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.007364, allocations: 12.02 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.007467, allocations: 75.08 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.00747, allocations: 0 / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.007472, allocations: 3.938 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007476, allocations: 0 / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.268e-05/0.007558, allocations: 81.86 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.00756, allocations: 0 / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.00758, allocations: 8 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.007582, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.007587, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.007592, allocations: 7.922 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007593, allocations: 4 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.007668, allocations: 86.72 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.007683, allocations: 15.89 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.007698, allocations: 4 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.007717, allocations: 0 / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.007743, allocations: 7.984 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.007755, allocations: 4 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.007801, allocations: 55.58 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007801, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.007931, allocations: 19.94 kB / 330.8 MB, free: 1.883 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.001175/0.009106, allocations: 0.4996 MB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.009207, allocations: 32.78 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.009212, allocations: 0 / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.009239, allocations: 12.86 kB / 331.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.009378, allocations: 40.14 kB / 331.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.009675, allocations: 198.7 kB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.00971, allocations: 75.39 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.158e-05/0.009742, allocations: 12.5 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.009801, allocations: 67.36 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009802, allocations: 0 / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of Templates: time 0.00356/0.01336, allocations: 1.771 MB / 333.5 MB, free: 15.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.012997137848288]