Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.0008384/0.0008384, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002056, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001628/0.001628, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002276/0.003904, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9945/0.9945, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1502/1.145, allocations: 49.49 MB / 220.7 MB, free: 1.371 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1573/0.1573, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02114/0.1785, allocations: 12.31 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.98e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002074/0.002094, allocations: 1.774 MB / 269.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.003763, allocations: 1.572 MB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.003833, allocations: 4 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.004018, allocations: 31.73 kB / 270.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.00416, allocations: 63.62 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.004333, allocations: 91.58 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.004474, allocations: 95.7 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.387e-05/0.004548, allocations: 16.16 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.004655, allocations: 71.83 kB / 271.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.004745, allocations: 35.89 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.00476, allocations: 4 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.004868, allocations: 59.86 kB / 271.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.004905, allocations: 19.92 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.00493, allocations: 15.94 kB / 271.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.00509, allocations: 99.66 kB / 271.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.0051, allocations: 0 / 271.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005101, allocations: 0 / 271.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.005111, allocations: 4 kB / 271.4 MB, free: 14.5 MB / 282.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.000402/0.005513, allocations: 323.9 kB / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.622e-05/0.005539, allocations: 8.031 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.00557, allocations: 4.938 kB / 271.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.005709, allocations: 145.6 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.005724, allocations: 4.375 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.005742, allocations: 8.312 kB / 271.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.005857, allocations: 97.19 kB / 272 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.005866, allocations: 3.938 kB / 272 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005875, allocations: 8 kB / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.00588, allocations: 7.984 kB / 272 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.005904, allocations: 14.75 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.006218, allocations: 165.9 kB / 272.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.006307, allocations: 81.3 kB / 272.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.006324, allocations: 12.92 kB / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.006334, allocations: 0 / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.44e-05/0.006419, allocations: 74.08 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.006419, allocations: 0 / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000257/0.006676, allocations: 121.5 kB / 272.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.006701, allocations: 55.41 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.006788, allocations: 160.2 kB / 272.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.006802, allocations: 25.7 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.006829, allocations: 88.12 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.006852, allocations: 27.78 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.006881, allocations: 25.7 kB / 272.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.006945, allocations: 318.8 kB / 273.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.006958, allocations: 10.83 kB / 273.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.006989, allocations: 56.27 kB / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.007026, allocations: 44.48 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007027, allocations: 4 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.505e-05/0.007092, allocations: 68.44 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.007102, allocations: 8 kB / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.007107, allocations: 7.922 kB / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.007119, allocations: 0 / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.00718, allocations: 16 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007182, allocations: 0 / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.007213, allocations: 4 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.007218, allocations: 3.984 kB / 273.4 MB, free: 12.33 MB / 282.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.598e-05/0.007274, allocations: 120.7 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.007285, allocations: 7.938 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.142e-05/0.007376, allocations: 82.5 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.007379, allocations: 4 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.00738, allocations: 3.938 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007383, allocations: 0 / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.007587, allocations: 295.4 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007588, allocations: 0 / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.007614, allocations: 15.98 kB / 273.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.007623, allocations: 11.98 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007626, allocations: 0 / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007632, allocations: 384 / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007634, allocations: 4 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.007638, allocations: 7.938 kB / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.945e-05/0.007727, allocations: 215 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.007741, allocations: 0 / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.007779, allocations: 4 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.007804, allocations: 11.92 kB / 274.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.007813, allocations: 4 kB / 274.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.261e-05/0.007846, allocations: 39.66 kB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007846, allocations: 0 / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.007996, allocations: 31.92 kB / 274.2 MB, free: 11.43 MB / 282.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.001319/0.009315, allocations: 0.6992 MB / 274.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.009402, allocations: 40.77 kB / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.009408, allocations: 4 kB / 275 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.009445, allocations: 32.78 kB / 275 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.009662, allocations: 188.6 kB / 275.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.01005, allocations: 202.3 kB / 275.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.881e-05/0.01009, allocations: 67.2 kB / 275.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.712e-05/0.01013, allocations: 20.92 kB / 275.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.01021, allocations: 75.34 kB / 275.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01021, allocations: 0 / 275.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of Templates: time 0.003957/0.01417, allocations: 2.344 MB / 277.9 MB, free: 7.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.879100871272385]