Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001061/0.001061, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001092/0.001092, allocations: 174.4 kB / 25.61 MB, free: 8.902 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.9727/0.9727, allocations: 177.1 MB / 206.1 MB, free: 4.496 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.1484/0.1484, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 377.4 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.179e-05, allocations: 2.312 kB / 377.4 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001883/0.001894, allocations: 1.758 MB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.002934, allocations: 0.9936 MB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.003002, allocations: 0 / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.003226, allocations: 51.69 kB / 380.2 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.003448, allocations: 107.5 kB / 380.3 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.003591, allocations: 83.59 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.003702, allocations: 111.6 kB / 380.5 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.003772, allocations: 7.984 kB / 380.5 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.003834, allocations: 51.84 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.003889, allocations: 27.84 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.003901, allocations: 4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.00396, allocations: 43.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.003996, allocations: 27.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.004021, allocations: 31.84 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004152, allocations: 111.6 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562e-06/0.004153, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004154, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004158, allocations: 3.938 kB / 380.8 MB, free: 22.11 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.0003287/0.004487, allocations: 479.6 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.004517, allocations: 15.98 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.004549, allocations: 16.84 kB / 381.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.004671, allocations: 161.3 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.004687, allocations: 4.375 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.004703, allocations: 4.375 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.888e-05/0.004782, allocations: 62.88 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.00479, allocations: 3.938 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.004796, allocations: 4 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004802, allocations: 7.969 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.004826, allocations: 8 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.005014, allocations: 268.4 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.005087, allocations: 51.09 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.00511, allocations: 19.69 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.00512, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.69e-05/0.005197, allocations: 68.98 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.005198, allocations: 0 / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002983/0.005496, allocations: 145.6 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.005517, allocations: 55.41 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.005621, allocations: 270.6 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.005628, allocations: 25.7 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.005679, allocations: 166.8 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.005705, allocations: 31.77 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.005732, allocations: 23.38 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.005787, allocations: 0.5117 MB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.005803, allocations: 15.98 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.005826, allocations: 31.3 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.005862, allocations: 43.36 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.005864, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.154e-05/0.005945, allocations: 101.4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005955, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005959, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.005969, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.006024, allocations: 16 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.006029, allocations: 4.031 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.006055, allocations: 3.984 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.00606, allocations: 4 kB / 383.3 MB, free: 19.31 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.411e-05/0.006115, allocations: 164.5 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.00613, allocations: 19.84 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.006249, allocations: 107.2 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.006252, allocations: 4 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006254, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006258, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.006461, allocations: 373.6 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006463, allocations: 0 / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.006483, allocations: 8 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006484, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.006491, allocations: 4 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.006493, allocations: 3.984 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006494, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.006595, allocations: 263.4 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.006611, allocations: 11.91 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.006627, allocations: 4 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.006665, allocations: 4.031 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.00669, allocations: 11.98 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.0067, allocations: 4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.006756, allocations: 184.5 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006756, allocations: 0 / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.006922, allocations: 31.92 kB / 384.5 MB, free: 18.05 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.0008863/0.007808, allocations: 439 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.545e-05/0.007894, allocations: 43.55 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.007896, allocations: 8.062 kB / 385 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.007924, allocations: 23.67 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.008136, allocations: 46.8 kB / 385.1 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.008408, allocations: 268.3 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.105e-05/0.008439, allocations: 75.19 kB / 385.4 MB, free: 17.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.00847, allocations: 20.94 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.008522, allocations: 90.19 kB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008522, allocations: 4.062 kB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of Templates: time 0.00318/0.0117, allocations: 2.076 MB / 387.6 MB, free: 15.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.2619568067602813]