Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.00087/0.00087, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002366, 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.0007528/0.0007528, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000951/0.001704, 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.8994/0.8994, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.164/1.063, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1184/0.1184, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02219/0.1406, allocations: 12.31 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.19e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002987/0.003009, allocations: 1.766 MB / 269.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.004571, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004671, allocations: 3.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.00499, allocations: 47.7 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.005223, allocations: 55.62 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.00556, allocations: 95.64 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.005783, allocations: 95.64 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.00589, allocations: 4.234 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.006076, allocations: 79.81 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.006181, allocations: 23.86 kB / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.006204, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.006328, allocations: 43.92 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.006392, allocations: 19.92 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.006434, allocations: 15.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.006669, allocations: 91.61 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/0.006686, allocations: 4 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006687, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.006701, allocations: 0 / 270.6 MB, free: 15.29 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.0006058/0.007307, allocations: 331.9 kB / 270.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.00735, allocations: 8.031 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.007401, allocations: 12.92 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.007621, allocations: 145.5 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.007641, allocations: 384 / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.007669, allocations: 4.375 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.007826, allocations: 65.7 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.007841, allocations: 7.938 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.00785, allocations: 0 / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.00786, allocations: 7.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.007899, allocations: 7.984 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.008221, allocations: 173.9 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.008377, allocations: 89.34 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.00841, allocations: 12.8 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.008427, allocations: 0 / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.008578, allocations: 70.16 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.008579, allocations: 4 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004186/0.008998, allocations: 113.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.009034, allocations: 55.41 kB / 271.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.009228, allocations: 168.3 kB / 271.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.009251, allocations: 25.7 kB / 271.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.009295, allocations: 92.11 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.009334, allocations: 27.8 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.009378, allocations: 25.7 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.009505, allocations: 322.8 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.009534, allocations: 10.83 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.405e-05/0.009578, allocations: 33.62 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/0.009647, allocations: 36.53 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.009649, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001278/0.009777, allocations: 76.36 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.009796, allocations: 4 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.009803, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.009821, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.009939, allocations: 23.98 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.009944, allocations: 0 / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.009995, allocations: 11.97 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01, allocations: 0 / 272.5 MB, free: 13.18 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 0.0001155/0.01012, allocations: 124.6 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.01015, allocations: 15.88 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.01032, allocations: 78.56 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01033, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01033, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.01033, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.0107, allocations: 287.4 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0107, allocations: 4.031 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.01076, allocations: 15.92 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.01078, allocations: 11.91 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.01078, allocations: 4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01079, allocations: 4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.0108, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.0108, allocations: 384 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.01097, allocations: 223 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.01099, allocations: 0 / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.01107, allocations: 8 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.0111, allocations: 11.98 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.01111, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.251e-05/0.01118, allocations: 48.52 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01118, allocations: 0 / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01141, allocations: 20 kB / 273.4 MB, free: 12.27 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.0019/0.01331, allocations: 0.6361 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01343, allocations: 48.7 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.01344, allocations: 0 / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.01349, allocations: 28.84 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.01382, allocations: 176.3 kB / 274.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.01442, allocations: 226.7 kB / 274.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.373e-05/0.01448, allocations: 71.34 kB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.785e-05/0.01453, allocations: 12.95 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.01462, allocations: 67.36 kB / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01462, allocations: 0 / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of Templates: time 0.003468/0.01809, allocations: 2.033 MB / 276.7 MB, free: 8.875 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.7303860941901803]