Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.0009041/0.0009041, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009285/0.0009285, allocations: 171.2 kB / 24.92 MB, free: 8.73 MB / 18.57 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 0.9166/0.9166, allocations: 177.1 MB / 205.3 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] 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.127/0.127, allocations: 32.79 MB / 294.6 MB, free: 15.43 MB / 282.7 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 323.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.209e-05, allocations: 2.312 kB / 323.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002042/0.002054, allocations: 1.846 MB / 325.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003284, allocations: 1.095 MB / 326.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.003353, allocations: 0 / 326.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.003736, allocations: 295.2 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.004103, allocations: 267 kB / 326.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.004275, allocations: 111.6 kB / 326.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.004506, allocations: 267.2 kB / 327.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.004547, allocations: 10.47 kB / 327.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.004684, allocations: 155.6 kB / 327.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.004844, allocations: 175.7 kB / 327.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.004862, allocations: 8 kB / 327.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.004935, allocations: 47.92 kB / 327.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.005033, allocations: 147.6 kB / 327.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.005102, allocations: 71.61 kB / 327.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.00533, allocations: 282.9 kB / 328 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.005331, allocations: 0 / 328 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005332, allocations: 4 kB / 328 MB, free: 13.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005336, allocations: 0 / 328 MB, free: 13.96 MB / 314.7 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.0005428/0.005879, allocations: 0.6381 MB / 328.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.005913, allocations: 11.98 kB / 328.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.005963, allocations: 28.91 kB / 328.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.006222, allocations: 305.9 kB / 329 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.006237, allocations: 4.375 kB / 329 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.006248, allocations: 8.312 kB / 329 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.006365, allocations: 91.44 kB / 329.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006374, allocations: 3.938 kB / 329.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.006382, allocations: 0 / 329.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.006386, allocations: 4 kB / 329.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.006418, allocations: 17.64 kB / 329.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.00655, allocations: 122.3 kB / 329.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.81e-05/0.006649, allocations: 82.84 kB / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.006675, allocations: 21.7 kB / 329.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.006685, allocations: 7.938 kB / 329.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.917e-05/0.006774, allocations: 95.83 kB / 329.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 6.62e-07/0.006775, allocations: 4 kB / 329.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001525/0.006927, allocations: 115.7 kB / 329.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.006966, allocations: 85.05 kB / 329.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.007344, allocations: 0.6062 MB / 330.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.00736, allocations: 29.7 kB / 330.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.007419, allocations: 149.3 kB / 330.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.007452, allocations: 31.8 kB / 330.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.007482, allocations: 25.7 kB / 330.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.007573, allocations: 366.7 kB / 330.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.007594, allocations: 18.81 kB / 330.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.007622, allocations: 43.34 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.007679, allocations: 63.89 kB / 331 MB, free: 10.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00768, allocations: 0 / 331 MB, free: 10.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.479e-05/0.007775, allocations: 107.2 kB / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.007786, allocations: 8 kB / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.00779, allocations: 0 / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.0078, allocations: 0 / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.007864, allocations: 27.98 kB / 331.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007869, allocations: 7.938 kB / 331.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.007916, allocations: 11.94 kB / 331.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007922, allocations: 4 kB / 331.2 MB, free: 10.61 MB / 314.7 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 8.366e-05/0.008006, allocations: 121.2 kB / 331.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.008033, allocations: 27.97 kB / 331.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.008153, allocations: 126.1 kB / 331.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.008157, allocations: 4 kB / 331.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008159, allocations: 3.938 kB / 331.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.008162, allocations: 4 kB / 331.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.00829, allocations: 169.7 kB / 331.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.008291, allocations: 0 / 331.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.008312, allocations: 8 kB / 331.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008313, allocations: 4 kB / 331.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.008319, allocations: 0 / 331.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.008321, allocations: 3.984 kB / 331.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008322, allocations: 4 kB / 331.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.955e-05/0.008421, allocations: 138.2 kB / 331.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.008467, allocations: 55.59 kB / 331.8 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.008492, allocations: 8 kB / 331.8 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.008529, allocations: 11.98 kB / 331.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.008555, allocations: 3.984 kB / 331.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.008566, allocations: 7.938 kB / 331.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.008779, allocations: 331.2 kB / 332.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008779, allocations: 0 / 332.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.008929, allocations: 40 kB / 332.2 MB, free: 9.496 MB / 314.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: 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.001037/0.009966, allocations: 0.5071 MB / 332.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.046e-05/0.01006, allocations: 56.75 kB / 332.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.01006, allocations: 8 kB / 332.8 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.0101, allocations: 36.78 kB / 332.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.01028, allocations: 73.06 kB / 332.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.01088, allocations: 0.6609 MB / 333.5 MB, free: 8.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.817e-05/0.01095, allocations: 128.2 kB / 333.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.01103, allocations: 54.92 kB / 333.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.01114, allocations: 95.36 kB / 333.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01114, allocations: 0 / 333.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of Templates: time 0.006534/0.01767, allocations: 4.305 MB / 338.1 MB, free: 3.824 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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: 2.9036308508366346]