Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007784/0.0007784, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.0019, 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.0006842/0.0006842, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009443/0.001629, 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.8776/0.8776, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1505/1.028, 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.1415/0.1415, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01967/0.1611, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.091e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002077/0.002098, allocations: 1.774 MB / 269.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.003044, allocations: 0.8075 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.003116, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.003337, allocations: 55.62 kB / 270.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.003486, allocations: 59.69 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.003681, allocations: 91.64 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.00382, allocations: 99.58 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.152e-05/0.003892, allocations: 8.234 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.004003, allocations: 71.88 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.004071, allocations: 19.92 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.004088, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.119e-05/0.004169, allocations: 51.8 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.004214, allocations: 27.92 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.004246, allocations: 11.94 kB / 270.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004407, allocations: 95.67 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.004419, allocations: 3.984 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00442, allocations: 3.938 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.004429, 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.0003764/0.004805, allocations: 343.7 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.004836, allocations: 12.03 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.004867, allocations: 4.938 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.005008, allocations: 157.5 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.005022, allocations: 384 / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.005039, allocations: 8.375 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.00514, allocations: 61.77 kB / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.00515, allocations: 3.938 kB / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.005158, allocations: 0 / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.005165, allocations: 7.984 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.005192, allocations: 11.92 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.005377, allocations: 169.9 kB / 271.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.527e-05/0.005472, allocations: 85.28 kB / 271.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.005494, allocations: 20.91 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.005506, allocations: 4 kB / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.055e-05/0.005596, allocations: 66.09 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.005597, allocations: 0 / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002854/0.005883, allocations: 117.5 kB / 271.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.005908, allocations: 51.41 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.006014, allocations: 192.2 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.006027, allocations: 25.7 kB / 272 MB, free: 13.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.006058, allocations: 96.11 kB / 272.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.006084, allocations: 27.78 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.006115, allocations: 29.64 kB / 272.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.006191, allocations: 326.8 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.006212, allocations: 10.83 kB / 272.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.006233, allocations: 17.72 kB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.006275, allocations: 52.5 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006276, allocations: 0 / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.367e-05/0.00635, allocations: 72.44 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.006362, allocations: 8 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006366, allocations: 0 / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.006378, allocations: 4.031 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.006448, allocations: 23.92 kB / 272.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006451, allocations: 0 / 272.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.006476, allocations: 0 / 272.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.006483, 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 6.139e-05/0.006544, allocations: 116.7 kB / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.006557, allocations: 11.92 kB / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.00666, allocations: 87.19 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006662, allocations: 0 / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006663, allocations: 0 / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006666, allocations: 4 kB / 272.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.006874, allocations: 295.4 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006875, allocations: 0 / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.006905, allocations: 19.98 kB / 273.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.006915, allocations: 7.953 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006917, allocations: 0 / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.006922, allocations: 0 / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.006925, allocations: 4 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006926, allocations: 384 / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.532e-05/0.007021, allocations: 215 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.007038, allocations: 12.02 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.007082, allocations: 8 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.007109, allocations: 7.984 kB / 273.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.00712, allocations: 0 / 273.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.59e-05/0.007166, allocations: 60.69 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007166, allocations: 3.938 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.007312, 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.001237/0.008549, allocations: 0.6437 MB / 274.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.00865, allocations: 36.83 kB / 274.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.008659, allocations: 8 kB / 274.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.008698, allocations: 28.73 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.0002476/0.008945, allocations: 192.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.0004602/0.009406, 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 3.985e-05/0.009445, allocations: 71.33 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.732e-05/0.009483, 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 6.197e-05/0.009545, allocations: 67.38 kB / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.009546, allocations: 0 / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of Templates: time 0.003766/0.01331, allocations: 2.049 MB / 276.8 MB, free: 8.758 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.696571484208107]