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.0009524/0.0009524, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009118/0.0009118, allocations: 170.2 kB / 24.92 MB, free: 9.184 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.9984/0.9984, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2813/0.2813, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.383e-06/1.383e-06, allocations: 0 / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.618e-05, allocations: 5.578 kB / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002397/0.002423, allocations: 1.768 MB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003617, allocations: 0.9903 MB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.003681, allocations: 0 / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.003962, allocations: 63.72 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.004208, allocations: 103.5 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.00434, allocations: 79.59 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.004484, allocations: 116.1 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.004522, allocations: 240 / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.004614, allocations: 59.83 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.004699, allocations: 39.89 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.004714, allocations: 4 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.004784, allocations: 31.92 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.004827, allocations: 19.92 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.004858, allocations: 19.92 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.005027, allocations: 91.61 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.005031, allocations: 0 / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005032, allocations: 0 / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005036, allocations: 4 kB / 328.7 MB, free: 4.16 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.0003222/0.005358, allocations: 313.6 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.005388, allocations: 8.031 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.005415, allocations: 8.938 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.00556, allocations: 151.4 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.005572, allocations: 384 / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.005581, allocations: 4.375 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.005675, allocations: 65.69 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.005682, allocations: 3.938 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.005687, allocations: 0 / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.005692, allocations: 4 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.005712, allocations: 4 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.531e-05/0.005797, allocations: 78.69 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.005883, allocations: 37.42 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.005904, allocations: 8.859 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.00592, allocations: 4 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.85e-05/0.006008, allocations: 62.16 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.006009, allocations: 0 / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001191/0.006128, allocations: 65.67 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.006156, allocations: 55.34 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.006254, allocations: 173.3 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.006267, allocations: 25.7 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.006295, allocations: 100.1 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.006322, allocations: 11.84 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.006349, allocations: 21.7 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.006422, allocations: 330.7 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.006437, allocations: 6.828 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.006457, allocations: 17.72 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.006496, allocations: 47.53 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006498, allocations: 0 / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.744e-05/0.006565, allocations: 64.44 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.006578, allocations: 8 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006582, allocations: 0 / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.006593, allocations: 0 / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.006638, allocations: 11.94 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006641, allocations: 0 / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.006666, allocations: 7.984 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.006671, allocations: 4.031 kB / 330.4 MB, free: 2.312 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.121e-05/0.006732, allocations: 120.6 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.006745, allocations: 11.98 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/0.006832, allocations: 54.84 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.006836, allocations: 3.984 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.006838, allocations: 3.938 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006842, allocations: 0 / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.164e-05/0.006913, allocations: 89.86 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006914, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.006928, allocations: 4 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006929, allocations: 4 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.006934, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006935, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.006937, allocations: 3.984 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.147e-05/0.007008, allocations: 86.78 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.007023, allocations: 15.95 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.007038, allocations: 8 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.007057, allocations: 3.984 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.007084, allocations: 7.984 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.007094, allocations: 0 / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.4e-05/0.007138, allocations: 55.59 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007138, allocations: 4 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001268/0.007265, allocations: 27.92 kB / 330.9 MB, free: 1.758 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.001152/0.008418, allocations: 0.4905 MB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.008503, allocations: 32.78 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.008506, allocations: 0 / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.008532, allocations: 16.86 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.00868, allocations: 35.02 kB / 331.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.009014, allocations: 214.8 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.00905, allocations: 67.33 kB / 331.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.009084, allocations: 4.5 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.00915, allocations: 67.36 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.009151, allocations: 0 / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of Templates: time 0.003631/0.01278, allocations: 1.772 MB / 333.6 MB, free: 15.3 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 -s gbode -gbm=radauIIA3 -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.140106880106032]