Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001461/0.001461, allocations: 87.33 kB / 20.42 MB, free: 4.141 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.001899/0.001899, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 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 1.006/1.006, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.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.156/0.156, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 3.938 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.84e-05, allocations: 10.19 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003622/0.00366, allocations: 1.73 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.005145, allocations: 0.792 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.005247, allocations: 4 kB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.005661, allocations: 39.77 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.005948, allocations: 51.7 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.006242, allocations: 83.72 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.006473, allocations: 99.67 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.006592, allocations: 4.234 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.006709, allocations: 59.77 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.006796, allocations: 27.91 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.006819, allocations: 4 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.00692, allocations: 39.92 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.006981, allocations: 23.91 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.007028, allocations: 15.94 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.007242, allocations: 95.59 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.007246, allocations: 4 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.007247, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.007254, allocations: 0 / 350.8 MB, free: 6.27 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.000531/0.007785, allocations: 432 kB / 351.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.007838, allocations: 8.031 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.007901, allocations: 16.89 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.008096, allocations: 141 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.00812, allocations: 4.375 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.008147, allocations: 384 / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.008312, allocations: 70.25 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.008329, allocations: 4 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.008341, allocations: 0 / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.008355, allocations: 0 / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.0084, allocations: 15.98 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.008725, allocations: 283.7 kB / 351.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.008849, allocations: 55.11 kB / 351.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.008885, allocations: 19.67 kB / 351.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.008899, allocations: 0 / 351.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.009015, allocations: 69.05 kB / 351.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.009016, allocations: 4 kB / 351.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005355/0.009552, allocations: 149.7 kB / 352.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.009587, allocations: 51.41 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.009697, allocations: 213.8 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.009711, allocations: 29.7 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.009757, allocations: 146.9 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.009787, allocations: 27.8 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.00983, allocations: 27.36 kB / 352.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.009914, allocations: 0.4961 MB / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.009939, allocations: 8 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.009977, allocations: 43.3 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.01004, allocations: 51.42 kB / 353.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01004, allocations: 0 / 353.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001182/0.01016, allocations: 93.64 kB / 353.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01017, allocations: 8 kB / 353.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01018, allocations: 4.016 kB / 353.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.0102, allocations: 0 / 353.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01031, allocations: 19.97 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01032, allocations: 3.984 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.01036, allocations: 11.97 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01037, allocations: 8 kB / 353.3 MB, free: 3.57 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 7.856e-05/0.01044, allocations: 162.8 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.01046, allocations: 15.91 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.01064, allocations: 102.4 kB / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01064, allocations: 0 / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.01065, allocations: 0 / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01066, allocations: 0 / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.01096, allocations: 385 kB / 353.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01096, allocations: 8.031 kB / 354 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.011, allocations: 11.98 kB / 354 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.011, allocations: 0 / 354 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.01101, allocations: 0 / 354 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01101, allocations: 7.938 kB / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01101, allocations: 0 / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.01117, allocations: 259.5 kB / 354.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.01119, allocations: 7.953 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.01121, allocations: 0 / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.01128, allocations: 7.938 kB / 354.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.01134, allocations: 11.98 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.01136, allocations: 4 kB / 354.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.381e-05/0.01145, allocations: 155.2 kB / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01145, allocations: 4 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.01178, allocations: 27.92 kB / 354.4 MB, free: 2.34 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.001442/0.01322, allocations: 435.8 kB / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.01344, allocations: 59.48 kB / 354.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.01345, allocations: 0 / 354.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.0135, allocations: 31.89 kB / 355 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.01392, allocations: 39.97 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.01444, allocations: 208.9 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.01449, allocations: 63.34 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.278e-05/0.01455, allocations: 12.48 kB / 355.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.01459, allocations: 20.5 kB / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.01459, allocations: 0 / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of Templates: time 0.005897/0.02049, allocations: 1.964 MB / 357.3 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.0427420092746615]