Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.0009547/0.0009547, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002379, allocations: 452 kB / 10.43 MB, free: 264 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.0009043/0.0009043, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002198, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8943/0.8943, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.14/1.034, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1254/0.1254, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02416/0.1496, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.75e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002632/0.00265, allocations: 1.774 MB / 269.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003852, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.641e-05/0.003919, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.004122, allocations: 47.69 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.004282, allocations: 67.62 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.004499, allocations: 83.66 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004661, allocations: 107.6 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.00473, allocations: 4.234 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.004864, allocations: 71.88 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.00494, allocations: 23.92 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.004959, allocations: 7.938 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.005052, allocations: 43.86 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.005101, allocations: 31.92 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.005134, allocations: 11.94 kB / 270.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.005317, allocations: 99.59 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.005328, allocations: 0 / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005329, allocations: 0 / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.005342, allocations: 0 / 270.7 MB, free: 15.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004399/0.005782, allocations: 343.8 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.005814, allocations: 12.03 kB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.005849, allocations: 8.875 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.00602, allocations: 157.5 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.006036, allocations: 384 / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.006056, allocations: 8.375 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.006168, allocations: 61.77 kB / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.006178, allocations: 3.938 kB / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.006185, allocations: 0 / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.006193, allocations: 7.984 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.006222, allocations: 7.984 kB / 271.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.006448, allocations: 173.9 kB / 271.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.006555, allocations: 85.28 kB / 271.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.006582, allocations: 16.84 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.006593, allocations: 4 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.006695, allocations: 66.16 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.006696, allocations: 0 / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003311/0.007027, allocations: 121.5 kB / 271.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.00706, allocations: 51.41 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.007206, allocations: 188.2 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.007223, allocations: 29.64 kB / 272 MB, free: 13.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.007269, allocations: 104 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.007299, allocations: 23.8 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.00734, allocations: 29.69 kB / 272.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.007431, allocations: 326.8 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.007452, allocations: 10.83 kB / 272.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.007483, allocations: 21.7 kB / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.007536, allocations: 40.52 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.007538, allocations: 0 / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.956e-05/0.007637, allocations: 72.38 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007651, allocations: 8 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.007655, allocations: 0 / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007666, allocations: 4.031 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.007742, allocations: 23.92 kB / 272.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007746, allocations: 0 / 272.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.007785, allocations: 4 kB / 272.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.007792, allocations: 4 kB / 272.6 MB, free: 13.11 MB / 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 (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 7.412e-05/0.007866, allocations: 116.7 kB / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.007886, allocations: 11.92 kB / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.008008, allocations: 87.19 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00801, allocations: 0 / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008011, allocations: 0 / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008014, allocations: 4 kB / 272.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.008279, allocations: 295.4 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008282, allocations: 0 / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.008322, allocations: 15.98 kB / 273.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.008335, allocations: 7.953 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008337, allocations: 0 / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.008346, allocations: 4 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008348, allocations: 0 / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008349, allocations: 4.375 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.008477, allocations: 215 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.008497, allocations: 4.031 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.008564, allocations: 12 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.008591, allocations: 7.984 kB / 273.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.008602, allocations: 0 / 273.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.008668, allocations: 64.67 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008668, allocations: 3.938 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000236/0.008904, allocations: 27.94 kB / 273.5 MB, free: 12.18 MB / 282.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.00176/0.01066, allocations: 0.6438 MB / 274.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01077, allocations: 32.84 kB / 274.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.01077, allocations: 4 kB / 274.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.01083, allocations: 40.7 kB / 274.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01115, allocations: 188.5 kB / 274.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.01169, allocations: 226.7 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.01174, allocations: 71.33 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.01178, allocations: 12.48 kB / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.01186, allocations: 67.36 kB / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01186, allocations: 0 / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of Templates: time 0.005097/0.01696, allocations: 2.045 MB / 276.8 MB, free: 8.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.705963283777237]