Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001303/0.001303, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001403/0.001403, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.615/1.615, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2269/0.2269, allocations: 44.91 MB / 359.6 MB, free: 6.258 MB / 286.1 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 0.4944 GB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3831, allocations: 65.48 MB / 0.5583 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004256/0.3873, allocations: 1.834 MB / 0.5601 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.3897, allocations: 1.12 MB / 0.5612 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.3899, allocations: 3.938 kB / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.3905, allocations: 311.3 kB / 0.5615 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006596/0.3912, allocations: 259.2 kB / 0.5617 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.3915, allocations: 107.6 kB / 0.5618 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.392, allocations: 271.2 kB / 0.5621 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.524e-05/0.3921, allocations: 9.812 kB / 0.5621 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.3924, allocations: 139.5 kB / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.3928, allocations: 219.4 kB / 0.5625 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.3928, allocations: 4 kB / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.393, allocations: 47.98 kB / 0.5625 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.3932, allocations: 147.5 kB / 0.5626 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.3934, allocations: 146.8 kB / 0.5628 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.394, allocations: 376.6 kB / 0.5631 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.394, allocations: 4 kB / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.394, allocations: 0 / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.394, allocations: 0 / 0.5631 GB, free: 2.688 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001318/0.3953, allocations: 0.6941 MB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3953, allocations: 8.031 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.3955, allocations: 52.61 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.3964, allocations: 398.5 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3964, allocations: 4.312 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3964, allocations: 12.12 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.3966, allocations: 91.3 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3966, allocations: 0 / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3967, allocations: 4 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3967, allocations: 0 / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3968, allocations: 23.98 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.3973, allocations: 361.4 kB / 0.5647 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.3976, allocations: 105.2 kB / 0.5648 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3977, allocations: 41.64 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3978, allocations: 0 / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.398, allocations: 113 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.398, allocations: 0 / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005676/0.3986, allocations: 197.2 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.3987, allocations: 81.11 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.4001, allocations: 1.05 MB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.4001, allocations: 29.7 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.4003, allocations: 244.1 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.4004, allocations: 31.73 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.4004, allocations: 29.7 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.4007, allocations: 366.8 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.4008, allocations: 35.92 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.4009, allocations: 59.41 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.4011, allocations: 91.86 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4011, allocations: 0 / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003625/0.4014, allocations: 181.1 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4015, allocations: 4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4015, allocations: 4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4015, allocations: 4.062 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4016, allocations: 19.98 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4016, allocations: 4 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4017, allocations: 11.94 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.4018, allocations: 7.984 kB / 0.5673 GB, free: 14.13 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.0002703/0.402, allocations: 229.6 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.4021, allocations: 55.62 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.4025, allocations: 197.8 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4025, allocations: 3.938 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4025, allocations: 4 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4026, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.4029, allocations: 328.4 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.403, allocations: 256 / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.403, allocations: 12 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.403, allocations: 0 / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.403, allocations: 4 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.403, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.403, allocations: 3.984 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.4034, allocations: 225.4 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.4036, allocations: 63.59 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.4036, allocations: 8 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.4037, allocations: 7.984 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4038, allocations: 11.98 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.4038, allocations: 8 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009664/0.4048, allocations: 0.78 MB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4048, allocations: 0 / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.4051, allocations: 48 kB / 0.5693 GB, free: 12.09 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.001619/0.4067, allocations: 409.8 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.407, allocations: 83.83 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.407, allocations: 8.062 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.4071, allocations: 35.98 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.4076, allocations: 77.17 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.4092, allocations: 0.934 MB / 0.5708 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.4097, allocations: 0.8507 MB / 0.5716 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.4098, allocations: 31.42 kB / 0.5716 GB, free: 9.77 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4098, allocations: 0 / 0.5716 GB, free: 9.77 MB / 414.1 MB Notification: Performance of Templates: time 0.01077/0.4206, allocations: 5.233 MB / 0.5767 GB, free: 4.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.21688544913195]