Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001356/0.001356, allocations: 102 kB / 21.22 MB, free: 0.6562 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.001466/0.001466, allocations: 185.2 kB / 24.51 MB, free: 4.016 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.725/1.725, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2626/0.2626, allocations: 44.9 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 79.88 kB / 497.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.466, allocations: 64.28 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003889/0.4699, allocations: 1.689 MB / 0.5505 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.4717, allocations: 0.8789 MB / 0.5514 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.4718, allocations: 1.281 kB / 0.5514 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.4722, allocations: 87.7 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.4725, allocations: 77.16 kB / 0.5515 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.4729, allocations: 110.8 kB / 0.5516 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.4732, allocations: 102.7 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.4732, allocations: 2.281 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.4733, allocations: 53.64 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.4735, allocations: 60.27 kB / 0.5519 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4735, allocations: 3.25 kB / 0.5519 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.4736, allocations: 34.38 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.4737, allocations: 24.48 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.4738, allocations: 34.8 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.4741, allocations: 104.4 kB / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4741, allocations: 0 / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4741, allocations: 1.188 kB / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4741, allocations: 0 / 0.552 GB, free: 10.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008532/0.4749, allocations: 338.1 kB / 0.5524 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.475, allocations: 9.703 kB / 0.5524 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.4751, allocations: 18.22 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.4755, allocations: 157.6 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4755, allocations: 1.469 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.4755, allocations: 5.188 kB / 0.5526 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.4757, allocations: 47.23 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4757, allocations: 1.062 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.4758, allocations: 4 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4758, allocations: 5.156 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.4759, allocations: 15.59 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.4761, allocations: 159.4 kB / 0.5528 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.4764, allocations: 49.78 kB / 0.5528 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.4765, allocations: 24.47 kB / 0.5528 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.4766, allocations: 1.188 kB / 0.5528 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.4767, allocations: 68.41 kB / 0.5529 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.4767, allocations: 3.938 kB / 0.5529 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003264/0.4771, allocations: 95.47 kB / 0.553 GB, free: 9.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.4771, allocations: 60.77 kB / 0.5531 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4774, allocations: 207.9 kB / 0.5533 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4774, allocations: 26.83 kB / 0.5533 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.4775, allocations: 100.4 kB / 0.5534 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.4775, allocations: 19.03 kB / 0.5534 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.4776, allocations: 22.28 kB / 0.5534 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4777, allocations: 323 kB / 0.5537 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.4778, allocations: 14.98 kB / 0.5537 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.4779, allocations: 32.2 kB / 0.5538 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.478, allocations: 39.59 kB / 0.5538 GB, free: 9.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.478, allocations: 3.938 kB / 0.5538 GB, free: 9.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001799/0.4782, allocations: 92.11 kB / 0.5539 GB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4782, allocations: 4.938 kB / 0.5539 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4782, allocations: 1.312 kB / 0.5539 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4782, allocations: 0 / 0.5539 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.4783, allocations: 13.62 kB / 0.5539 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4783, allocations: 0 / 0.5539 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.4783, allocations: 6.547 kB / 0.5539 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4783, allocations: 2.531 kB / 0.5539 GB, free: 8.934 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 (7): * Single equations (assignments): 7 * 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.0001231/0.4785, allocations: 136.9 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.4785, allocations: 12.14 kB / 0.5541 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4787, allocations: 91.53 kB / 0.5542 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4787, allocations: 5.094 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4787, allocations: 1.062 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4787, allocations: 0 / 0.5542 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.4789, allocations: 165.2 kB / 0.5543 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4789, allocations: 1.188 kB / 0.5543 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.4789, allocations: 11.33 kB / 0.5543 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4789, allocations: 0 / 0.5543 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.479, allocations: 5.188 kB / 0.5543 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.479, allocations: 1.25 kB / 0.5543 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.479, allocations: 0 / 0.5543 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.4792, allocations: 109.6 kB / 0.5544 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.4792, allocations: 11.25 kB / 0.5545 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.4792, allocations: 1.188 kB / 0.5545 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.4793, allocations: 2.344 kB / 0.5545 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.4793, allocations: 9.203 kB / 0.5545 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.4793, allocations: 2.406 kB / 0.5545 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.4795, allocations: 159.7 kB / 0.5546 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4795, allocations: 0 / 0.5546 GB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.4797, allocations: 21.78 kB / 0.5546 GB, free: 8.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001536/0.4812, allocations: 420.6 kB / 0.555 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.4814, allocations: 33.8 kB / 0.5551 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4814, allocations: 5.281 kB / 0.5551 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.4815, allocations: 18.09 kB / 0.5551 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.4818, allocations: 32.06 kB / 0.5551 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.4823, allocations: 219.9 kB / 0.5553 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.4827, allocations: 0.7075 MB / 0.556 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.4827, allocations: 12.19 kB / 0.556 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.4828, allocations: 18.12 kB / 0.5561 GB, free: 7.129 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4828, allocations: 0 / 0.5561 GB, free: 7.129 MB / 398.1 MB Notification: Performance of Templates: time 0.00522/0.488, allocations: 1.508 MB / 0.5575 GB, free: 6.367 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.851916258223355]