Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0007558/0.0007558, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001781, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006795/0.0006795, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008762/0.001556, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09372/1.127, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.2364/0.2364, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02376/0.2602, allocations: 13.11 MB / 291.5 MB, free: 7.328 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.53e-05, allocations: 3.188 kB / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002718/0.002733, allocations: 1.838 MB / 294.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004355, allocations: 1.018 MB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.004459, allocations: 0 / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.004721, allocations: 95.56 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.005036, allocations: 127.4 kB / 296 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.005253, allocations: 91.47 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.005447, allocations: 119.6 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.005539, allocations: 19.97 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.0057, allocations: 87.8 kB / 296.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.005815, allocations: 51.88 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.005832, allocations: 8 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.005961, allocations: 59.86 kB / 296.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.006021, allocations: 31.86 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.006061, allocations: 15.94 kB / 296.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.006282, allocations: 115.5 kB / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.398e-05/0.006296, allocations: 4 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006297, allocations: 0 / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.006308, allocations: 0 / 296.6 MB, free: 2.418 MB / 282.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.0005424/0.00685, allocations: 368.8 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.006888, allocations: 12.03 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.006934, allocations: 8.922 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.007117, allocations: 150.4 kB / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.007134, allocations: 4.375 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.007157, allocations: 4.375 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.007279, allocations: 65.7 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.00729, allocations: 11.94 kB / 297.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.007299, allocations: 3.984 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.007306, allocations: 0 / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.007341, allocations: 11.94 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.007591, allocations: 177.9 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.007761, allocations: 89.28 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.007786, allocations: 12.98 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.007797, allocations: 4 kB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.007913, allocations: 70.16 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.007915, allocations: 4 kB / 297.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005179/0.008432, allocations: 182.9 kB / 297.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.008464, allocations: 51.41 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.008616, allocations: 193.6 kB / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.008635, allocations: 33.7 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.008675, allocations: 92.11 kB / 298.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.008717, allocations: 43.67 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.008753, allocations: 21.7 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.008853, allocations: 326.8 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.008878, allocations: 22.81 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.008913, allocations: 29.66 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.332e-05/0.008977, allocations: 56.38 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.008979, allocations: 4 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001126/0.009091, allocations: 85.41 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.009105, allocations: 4 kB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.009109, allocations: 0 / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.009123, allocations: 0 / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.009202, allocations: 23.98 kB / 298.7 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.009205, allocations: 4.031 kB / 298.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/0.00924, allocations: 4 kB / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.009249, allocations: 8 kB / 298.7 MB, free: 100 kB / 282.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 (13): * Single equations (assignments): 13 * 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 9.115e-05/0.00934, allocations: 125.5 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.00936, allocations: 11.98 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.009504, allocations: 98.5 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.009506, allocations: 0 / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.009507, allocations: 0 / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.009513, allocations: 3.984 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.009819, allocations: 340.2 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00982, allocations: 0 / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.009857, allocations: 19.98 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.00987, allocations: 11.91 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.009872, allocations: 0 / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.00988, allocations: 4 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009882, allocations: 3.938 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009883, allocations: 0 / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.009998, allocations: 235.9 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01001, allocations: 4.047 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.173e-05/0.01006, allocations: 12 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.01009, allocations: 11.92 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.0101, allocations: 7.938 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.01015, allocations: 61.36 kB / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01015, allocations: 0 / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.0103, allocations: 35.92 kB / 299.7 MB, free: 15.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001596/0.0119, allocations: 0.713 MB / 300.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.012, allocations: 72.58 kB / 300.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.01201, allocations: 0 / 300.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.01205, allocations: 36.83 kB / 300.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01228, allocations: 184 kB / 300.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.01276, allocations: 263.7 kB / 301 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.01281, allocations: 76.55 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.01284, allocations: 20.62 kB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.01291, allocations: 71.36 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01291, allocations: 0 / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Templates: time 0.00372/0.01663, allocations: 2.321 MB / 303.5 MB, free: 11.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9011679282411933]