Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.0008048/0.0008048, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001825, 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.0007375/0.0007375, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009261/0.001664, 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.8676/0.8676, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1802/1.048, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.1276/0.1276, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02106/0.1486, 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 267.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.431e-05, allocations: 14.19 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00321/0.003234, allocations: 1.97 MB / 269.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004623, allocations: 0.8465 MB / 270.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.004736, allocations: 7.938 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.004996, allocations: 47.59 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.005181, allocations: 63.52 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.005469, allocations: 103.6 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.00571, allocations: 147.5 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.005821, allocations: 26.33 kB / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.005993, allocations: 100.5 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.006105, allocations: 43.83 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.006128, allocations: 4 kB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.006223, allocations: 47.92 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.006271, allocations: 15.94 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.006314, allocations: 27.88 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.006501, allocations: 119.5 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.006512, allocations: 0 / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006513, allocations: 0 / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.006522, allocations: 0 / 271 MB, free: 14.89 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004739/0.006996, allocations: 409.3 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.007025, allocations: 8.031 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.007064, allocations: 12.92 kB / 271.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.007237, allocations: 157.5 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.007254, allocations: 4.375 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.007277, allocations: 12.12 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.007432, allocations: 137.3 kB / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.007439, allocations: 0 / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.007449, allocations: 12 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.007454, allocations: 3.984 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.007494, allocations: 22.81 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.007874, allocations: 378.1 kB / 272.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.008057, allocations: 101.2 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.008083, allocations: 20.86 kB / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.008101, allocations: 7.922 kB / 272.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.008229, allocations: 95.91 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.008231, allocations: 0 / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001408/0.008372, allocations: 81.81 kB / 272.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.008397, allocations: 55.41 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.008506, allocations: 181 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.008524, allocations: 25.7 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.008576, allocations: 108 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.008596, allocations: 31.73 kB / 272.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.008634, allocations: 29.7 kB / 272.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.008718, allocations: 326.7 kB / 273.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.008742, allocations: 18.81 kB / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.008776, allocations: 52.22 kB / 273.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.008841, allocations: 65.86 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.008843, allocations: 0 / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.78e-05/0.008941, allocations: 92.36 kB / 273.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008954, allocations: 8.125 kB / 273.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.008959, allocations: 4 kB / 273.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.00897, allocations: 4 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.009047, allocations: 23.98 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.009054, allocations: 7.922 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.00909, allocations: 11.95 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.009099, allocations: 11.92 kB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.179e-05/0.009171, allocations: 120.6 kB / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.009187, allocations: 11.98 kB / 273.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.0093, allocations: 79.08 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.009303, allocations: 4 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.009304, allocations: 0 / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.009309, allocations: 3.984 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.576e-05/0.009395, allocations: 97.78 kB / 273.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.009396, allocations: 0 / 273.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.009449, allocations: 15.98 kB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.009462, allocations: 11.91 kB / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.009464, allocations: 3.938 kB / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.009474, allocations: 4 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.009476, allocations: 4 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.009477, allocations: 4 kB / 273.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.009619, allocations: 118.6 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.009633, allocations: 0 / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.00966, allocations: 4 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.009696, allocations: 11.98 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.009708, allocations: 3.984 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.009864, allocations: 57.55 kB / 274 MB, free: 11.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009864, allocations: 3.938 kB / 274 MB, free: 11.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.01, allocations: 27.94 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001166/0.01117, allocations: 0.551 MB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.01128, allocations: 56.7 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.01129, allocations: 4 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.01133, allocations: 28.84 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01157, allocations: 243.8 kB / 275 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.01216, allocations: 260.5 kB / 275.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.0122, allocations: 75.83 kB / 275.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.984e-05/0.01225, allocations: 17.12 kB / 275.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.01233, allocations: 71.36 kB / 275.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01233, allocations: 7.938 kB / 275.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of Templates: time 0.003955/0.01628, allocations: 2.235 MB / 277.6 MB, free: 7.898 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.6568445889279246]