Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.00095/0.00095, allocations: 82.66 kB / 21.43 MB, free: 3.07 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.001023/0.001023, allocations: 164.3 kB / 24.82 MB, free: 8.938 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.9717/0.9717, 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.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.2327/0.2327, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.432e-05, allocations: 6.25 kB / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00263/0.002654, allocations: 1.757 MB / 378.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003925, allocations: 0.9936 MB / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.004001, allocations: 3.938 kB / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.004272, allocations: 39.77 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.004535, allocations: 99.47 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.004681, allocations: 79.59 kB / 379.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.004826, allocations: 103.6 kB / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.004912, allocations: 11.98 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.358e-05/0.004996, allocations: 55.83 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.005062, allocations: 27.91 kB / 379.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.005076, allocations: 4 kB / 379.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-05/0.00515, allocations: 47.91 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.005192, allocations: 15.94 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.005226, allocations: 19.92 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.005383, allocations: 103.5 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005385, allocations: 0 / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005387, allocations: 0 / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.005391, allocations: 0 / 379.9 MB, free: 0.9141 MB / 346.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.0003879/0.005779, allocations: 447.9 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.005813, allocations: 12.03 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.005846, allocations: 8.891 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.005977, allocations: 153 kB / 380.5 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.005992, allocations: 12.31 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.006006, allocations: 384 / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.006106, allocations: 58.94 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.006117, allocations: 3.938 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.006124, allocations: 4 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.00613, allocations: 0 / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.006156, allocations: 19.98 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.006409, allocations: 248.5 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.006499, allocations: 55.09 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.006521, allocations: 23.61 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.006536, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.133e-05/0.006627, allocations: 72.97 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.006628, allocations: 0 / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003033/0.006932, allocations: 137.4 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.006957, allocations: 55.41 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007074, allocations: 222.5 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007086, allocations: 29.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.007147, allocations: 150.8 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.007179, allocations: 27.73 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.007214, allocations: 35.3 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004148/0.007629, allocations: 0.5001 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.007649, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.007679, allocations: 31.36 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.007724, allocations: 43.36 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007727, allocations: 7.984 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001035/0.00783, allocations: 85.52 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.007843, allocations: 4 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007848, allocations: 0 / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.007861, allocations: 4 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.007928, allocations: 15.94 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.007932, allocations: 4.141 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.007961, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.007968, allocations: 0 / 382.4 MB, free: 14.26 MB / 362.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 7.624e-05/0.008044, allocations: 164.6 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.008062, allocations: 19.84 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.008212, allocations: 107 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008214, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.008216, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008219, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.008477, allocations: 362 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.00848, allocations: 3.984 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.008507, allocations: 12 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.00851, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.008517, allocations: 8.031 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.008518, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008519, allocations: 3.938 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.008646, allocations: 259.4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.008657, allocations: 3.953 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.008675, allocations: 11.98 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.008717, allocations: 0 / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.008742, allocations: 7.984 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.008755, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.008816, allocations: 163.8 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008816, allocations: 4 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008979, allocations: 23.94 kB / 383.5 MB, free: 13.05 MB / 362.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.00103/0.01001, allocations: 432.4 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01012, allocations: 43.61 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01012, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.01015, allocations: 31.66 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01037, allocations: 43.72 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.01072, allocations: 218.4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.01076, allocations: 63.34 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.01079, allocations: 12.97 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.01086, allocations: 90.19 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01086, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.004571/0.01543, allocations: 2.052 MB / 386.5 MB, free: 10.21 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.9961464679799974]