Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001403/0.001403, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001495/0.001495, allocations: 168.8 kB / 24.91 MB, free: 9.156 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.055/1.055, 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.263/0.263, allocations: 32.81 MB / 294.6 MB, free: 1.199 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 323.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.481e-05, allocations: 5.125 kB / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002716/0.00274, allocations: 1.792 MB / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003888, allocations: 1.009 MB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.003956, allocations: 0 / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.004169, allocations: 43.64 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.004421, allocations: 87.55 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.004607, allocations: 83.59 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.004742, allocations: 104.2 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.154e-05/0.004803, allocations: 16.73 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.004875, allocations: 47.84 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.004936, allocations: 31.83 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.004948, allocations: 8 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.005022, allocations: 47.92 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.005056, allocations: 19.92 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.005083, allocations: 19.92 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.005216, allocations: 99.59 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005218, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005219, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.005223, allocations: 0 / 326.8 MB, free: 6.125 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002925/0.005516, allocations: 317.4 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.488e-05/0.005541, allocations: 12.03 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.005565, allocations: 4.938 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.005693, allocations: 149.6 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.005706, allocations: 384 / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.005717, allocations: 384 / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.005807, allocations: 69.7 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.005815, allocations: 3.938 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.005821, allocations: 0 / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.005825, allocations: 0 / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.005849, allocations: 11.98 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.006024, allocations: 166 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.006103, allocations: 89.28 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.006123, allocations: 16.84 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.006132, allocations: 3.938 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.953e-05/0.006212, allocations: 66.16 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.006213, allocations: 0 / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002466/0.00646, allocations: 117.5 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.006485, allocations: 51.41 kB / 327.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.006576, allocations: 174.1 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.006589, allocations: 29.7 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.006617, allocations: 92.11 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.00664, allocations: 31.75 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.006669, allocations: 25.69 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.006744, allocations: 326.8 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.006761, allocations: 10.83 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.006781, allocations: 21.7 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.006821, allocations: 44.45 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.006823, allocations: 384 / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.703e-05/0.0069, allocations: 76.38 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.00691, allocations: 8.031 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.006913, allocations: 3.938 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006924, allocations: 4 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.006978, allocations: 19.98 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.00698, allocations: 0 / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.007007, allocations: 8 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.007012, allocations: 0 / 328.7 MB, free: 4.031 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 (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.718e-05/0.007069, allocations: 116.7 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.007087, allocations: 19.86 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.007201, allocations: 71.14 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.007205, allocations: 11.97 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.007206, allocations: 0 / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007209, allocations: 0 / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.007412, allocations: 291.4 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007414, allocations: 0 / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.007439, allocations: 11.94 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007441, allocations: 0 / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.007449, allocations: 11.98 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007451, allocations: 0 / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007451, allocations: 0 / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.664e-05/0.007548, allocations: 215 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.00756, allocations: 11.91 kB / 329.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.007577, allocations: 8 kB / 329.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.007617, allocations: 3.984 kB / 329.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.007638, allocations: 4 kB / 329.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.007649, allocations: 7.984 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.007687, allocations: 44.36 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007687, allocations: 0 / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000147/0.007834, allocations: 27.92 kB / 329.5 MB, free: 3.121 MB / 298.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.001229/0.009063, allocations: 0.5793 MB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.392e-05/0.009147, allocations: 44.7 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.009152, allocations: 4 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.00918, allocations: 24.91 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.009345, allocations: 35.92 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.009608, allocations: 220 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.009645, allocations: 71.33 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.009675, allocations: 13.28 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.009735, allocations: 67.36 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.009736, allocations: 0 / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of Templates: time 0.003365/0.0131, allocations: 2.013 MB / 332.6 MB, free: 340 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.025098347105086]