Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001003/0.001003, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001238/0.001238, allocations: 164.5 kB / 25.61 MB, free: 8.895 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.9347/0.9347, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.1433/0.1433, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.71e-05, allocations: 6.25 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002046/0.002074, allocations: 1.754 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.003505, allocations: 0.9897 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.238e-05/0.003598, allocations: 3.938 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.00388, allocations: 47.81 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.004141, allocations: 107.4 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.004303, allocations: 79.61 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.004431, allocations: 107.6 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.004509, allocations: 8 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.004582, allocations: 51.83 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.004648, allocations: 27.91 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.00466, allocations: 8 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.00473, allocations: 43.92 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.004775, allocations: 31.84 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.004805, allocations: 23.92 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.004951, allocations: 107.6 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004953, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004955, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.004959, allocations: 0 / 382.8 MB, free: 19.92 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003727/0.005332, allocations: 467.7 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.005367, allocations: 8.031 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.005409, allocations: 20.84 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.005543, allocations: 153.2 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.00556, allocations: 12.31 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.005578, allocations: 4.359 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.005679, allocations: 62.94 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.00569, allocations: 3.938 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005697, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.005703, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.005728, allocations: 8 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.005955, allocations: 260.4 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.006058, allocations: 55.11 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.006081, allocations: 15.67 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.006096, allocations: 3.984 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.033e-05/0.006186, allocations: 68.98 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.006188, allocations: 0 / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003308/0.006519, allocations: 137.8 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.006541, allocations: 55.41 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.006639, allocations: 256.9 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.006647, allocations: 25.7 kB / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.006686, allocations: 166.8 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.006709, allocations: 23.83 kB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.006737, allocations: 31.31 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.006786, allocations: 0.5001 MB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.006803, allocations: 15.92 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.006826, allocations: 31.36 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.006865, allocations: 47.48 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006866, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.323e-05/0.006959, allocations: 97.48 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.006971, allocations: 8 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006975, allocations: 0 / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.006983, allocations: 0 / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.007046, allocations: 16 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.007048, allocations: 3.938 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.007077, allocations: 3.984 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.007083, allocations: 8 kB / 385.3 MB, free: 17.17 MB / 314.7 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 5.394e-05/0.007137, allocations: 156.6 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.007154, allocations: 19.84 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.007281, allocations: 111.2 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.007283, allocations: 0 / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.007285, allocations: 0 / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007289, allocations: 4 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.007488, allocations: 373.5 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.007489, allocations: 0 / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.007515, allocations: 8 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007518, allocations: 0 / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.007525, allocations: 4 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007526, allocations: 0 / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007527, allocations: 32 / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.929e-05/0.007626, allocations: 267.4 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.007638, allocations: 11.94 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.007654, allocations: 0 / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.007695, allocations: 4 kB / 386.2 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.007719, allocations: 11.98 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.00773, allocations: 0 / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.007776, allocations: 179.1 kB / 386.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007776, allocations: 0 / 386.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.007966, allocations: 20 kB / 386.4 MB, free: 15.95 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: 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 (9): * Single equations (assignments): 7 * 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.0008954/0.008861, allocations: 450.1 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.851e-05/0.00896, allocations: 47.59 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008961, allocations: 0 / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.008991, allocations: 27.67 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.009223, allocations: 34.77 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.009511, allocations: 245.3 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.889e-05/0.00954, allocations: 71.33 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.009573, allocations: 17.11 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.009628, allocations: 90.19 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009628, allocations: 0 / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003322/0.01295, allocations: 2.069 MB / 389.5 MB, free: 13.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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: 3.2284125960431993]