Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.002047/0.002047, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002828/0.002828, allocations: 208.7 kB / 23.73 MB, free: 4.379 MB / 14.72 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.705/1.705, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2679/0.2679, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.91 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4597, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004934/0.4646, allocations: 1.772 MB / 0.5629 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.467, allocations: 1.046 MB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.4671, allocations: 4 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.4677, allocations: 315.3 kB / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006624/0.4684, allocations: 263.2 kB / 0.5645 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.4688, allocations: 103.6 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.4693, allocations: 263.3 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.4694, allocations: 5.812 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.4697, allocations: 135.5 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.47, allocations: 227.4 kB / 0.5652 GB, free: 28 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.4701, allocations: 8 kB / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.4702, allocations: 44.05 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.4704, allocations: 143.5 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.4706, allocations: 119 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.4711, allocations: 388.6 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4711, allocations: 4 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4711, allocations: 0 / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4711, allocations: 0 / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001402/0.4725, allocations: 0.6747 MB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4726, allocations: 12.03 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.4727, allocations: 48.61 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.4736, allocations: 398.5 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.4736, allocations: 12.36 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.4736, allocations: 8.125 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.4739, allocations: 91.28 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4739, allocations: 0 / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4739, allocations: 4 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4739, allocations: 0 / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.474, allocations: 35.91 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.4745, allocations: 310.1 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.4748, allocations: 113.2 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.4749, allocations: 37.7 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.4749, allocations: 0 / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.4752, allocations: 113 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.4752, allocations: 0 / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005956/0.4758, allocations: 205.2 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.4759, allocations: 89.05 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.4772, allocations: 1.062 MB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4773, allocations: 29.7 kB / 0.569 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.4775, allocations: 236.1 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.4775, allocations: 31.73 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.4776, allocations: 29.7 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4778, allocations: 366.8 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4779, allocations: 35.98 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.478, allocations: 59.41 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4782, allocations: 95.84 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4782, allocations: 0 / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003571/0.4785, allocations: 185.2 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4785, allocations: 4 kB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4786, allocations: 7.922 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4786, allocations: 4 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4787, allocations: 19.94 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4787, allocations: 0 / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4788, allocations: 23.98 kB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4788, allocations: 4 kB / 0.57 GB, free: 10.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002393/0.4791, allocations: 221.8 kB / 0.5702 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.4791, allocations: 55.56 kB / 0.5703 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.4796, allocations: 205.8 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4796, allocations: 0 / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4796, allocations: 0 / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4796, allocations: 7.938 kB / 0.5705 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.4799, allocations: 265.2 kB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4799, allocations: 4 kB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.48, allocations: 19.92 kB / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.48, allocations: 3.938 kB / 0.5708 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.48, allocations: 4 kB / 0.5708 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.48, allocations: 4 kB / 0.5708 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.48, allocations: 0 / 0.5708 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.4804, allocations: 225.7 kB / 0.571 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.4806, allocations: 71.53 kB / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.4807, allocations: 8 kB / 0.5711 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.4807, allocations: 4 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.4808, allocations: 19.92 kB / 0.5711 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.4808, allocations: 7.984 kB / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009641/0.4818, allocations: 0.7878 MB / 0.5719 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4818, allocations: 0 / 0.5719 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.4821, allocations: 44 kB / 0.5719 GB, free: 8.809 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001718/0.4838, allocations: 433 kB / 0.5723 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.4841, allocations: 84.02 kB / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4841, allocations: 4.125 kB / 0.5724 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.4842, allocations: 56.02 kB / 0.5725 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.4847, allocations: 80.69 kB / 0.5725 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4861, allocations: 0.8894 MB / 0.5734 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.4863, allocations: 241.7 kB / 0.5736 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.4865, allocations: 62.94 kB / 0.5737 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.4865, allocations: 27.44 kB / 0.5737 GB, free: 7.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4865, allocations: 0 / 0.5737 GB, free: 7.09 MB / 414.1 MB Notification: Performance of Templates: time 0.009688/0.4962, allocations: 4.401 MB / 0.578 GB, free: 2.727 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.814055996015668]