Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 104.6 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 186.5 kB / 24.52 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.2995/0.2995, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 71.86 kB / 497.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4332, allocations: 64.28 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.004327/0.4376, allocations: 1.744 MB / 0.5506 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.4411, allocations: 1.589 MB / 0.5521 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.4412, allocations: 5.062 kB / 0.5521 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.4416, allocations: 32.75 kB / 0.5522 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.4418, allocations: 61.91 kB / 0.5522 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.4422, allocations: 116 kB / 0.5523 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4424, allocations: 98.12 kB / 0.5524 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4426, allocations: 4.516 kB / 0.5524 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.4427, allocations: 48.17 kB / 0.5525 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.4428, allocations: 46.12 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.4429, allocations: 8.281 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.443, allocations: 59.88 kB / 0.5526 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.4431, allocations: 16.52 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4432, allocations: 28.44 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.4435, allocations: 124.9 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4435, allocations: 1.25 kB / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4435, allocations: 0 / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4435, allocations: 0 / 0.5528 GB, free: 10.1 MB / 398.1 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.0007437/0.4443, allocations: 339.2 kB / 0.5531 GB, free: 9.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.4443, allocations: 10.86 kB / 0.5531 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.4444, allocations: 13.23 kB / 0.5531 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.445, allocations: 142.9 kB / 0.5532 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.445, allocations: 2.656 kB / 0.5532 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.4451, allocations: 10.34 kB / 0.5532 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.4453, allocations: 65.92 kB / 0.5533 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4453, allocations: 0 / 0.5533 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.4454, allocations: 1.188 kB / 0.5533 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4454, allocations: 4 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.4455, allocations: 23.23 kB / 0.5533 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.4461, allocations: 254.8 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.4463, allocations: 52.55 kB / 0.5536 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.4464, allocations: 16.08 kB / 0.5536 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4464, allocations: 9.094 kB / 0.5537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.4466, allocations: 65.33 kB / 0.5537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4466, allocations: 1.219 kB / 0.5537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006387/0.4472, allocations: 175.9 kB / 0.5539 GB, free: 9.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.4473, allocations: 78.23 kB / 0.554 GB, free: 8.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.4475, allocations: 152.1 kB / 0.5541 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4475, allocations: 30.77 kB / 0.5541 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.4476, allocations: 95.64 kB / 0.5542 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.4477, allocations: 28.38 kB / 0.5543 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.4477, allocations: 20.56 kB / 0.5543 GB, free: 8.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4479, allocations: 329 kB / 0.5546 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.448, allocations: 22.73 kB / 0.5546 GB, free: 8.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.4481, allocations: 41.28 kB / 0.5546 GB, free: 8.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4482, allocations: 67.48 kB / 0.5547 GB, free: 8.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4482, allocations: 3.938 kB / 0.5547 GB, free: 8.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002106/0.4484, allocations: 103.5 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4484, allocations: 5.094 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4484, allocations: 1.875 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4485, allocations: 0 / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4486, allocations: 17.8 kB / 0.5548 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4486, allocations: 0 / 0.5548 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.4486, allocations: 15.19 kB / 0.5549 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.4486, allocations: 10.11 kB / 0.5549 GB, free: 8.117 MB / 398.1 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 0.000196/0.4488, allocations: 124.6 kB / 0.555 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.4489, allocations: 12.25 kB / 0.555 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.4492, allocations: 110.1 kB / 0.5551 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4492, allocations: 1.25 kB / 0.5551 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4492, allocations: 0 / 0.5551 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4492, allocations: 4.938 kB / 0.5551 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.4499, allocations: 365.5 kB / 0.5555 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4499, allocations: 1.312 kB / 0.5555 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.4499, allocations: 7.156 kB / 0.5555 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4499, allocations: 1.312 kB / 0.5555 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4499, allocations: 13.14 kB / 0.5555 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4499, allocations: 1.062 kB / 0.5555 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4499, allocations: 1.125 kB / 0.5555 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.4503, allocations: 199.8 kB / 0.5557 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.4503, allocations: 7.359 kB / 0.5557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.4503, allocations: 9.062 kB / 0.5557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.4504, allocations: 2.219 kB / 0.5557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.4505, allocations: 7.328 kB / 0.5557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.4505, allocations: 3.438 kB / 0.5557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.4507, allocations: 120.7 kB / 0.5558 GB, free: 7.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4507, allocations: 4 kB / 0.5558 GB, free: 7.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.4511, allocations: 36.58 kB / 0.5558 GB, free: 7.238 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.002243/0.4533, allocations: 498.6 kB / 0.5563 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.4536, allocations: 60.36 kB / 0.5564 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4537, allocations: 1.188 kB / 0.5564 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4538, allocations: 27.09 kB / 0.5564 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.4542, allocations: 44.28 kB / 0.5564 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.4549, allocations: 200.5 kB / 0.5566 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.4555, allocations: 0.6924 MB / 0.5573 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.236e-05/0.4556, allocations: 19.7 kB / 0.5573 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.4557, allocations: 24.52 kB / 0.5574 GB, free: 6.039 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4557, allocations: 0 / 0.5574 GB, free: 6.039 MB / 398.1 MB Notification: Performance of Templates: time 0.006816/0.4625, allocations: 1.989 MB / 0.5593 GB, free: 4.57 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.783804519101977]