Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.0007602/0.0007602, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001906, 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.0007323/0.0007323, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001789, 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.8339/0.8339, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1325/0.9664, allocations: 49.51 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.1367/0.1367, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02115/0.1578, 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.61e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00197/0.001986, allocations: 1.782 MB / 269.3 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003172, allocations: 0.8036 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.003241, allocations: 0 / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.003474, allocations: 87.58 kB / 270.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.003632, allocations: 87.64 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.00385, allocations: 83.66 kB / 270.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004013, allocations: 111.5 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.004096, allocations: 12.17 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.004225, allocations: 83.88 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.004319, allocations: 51.81 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.004336, allocations: 4 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.00442, allocations: 47.86 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.004459, allocations: 15.92 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.004488, allocations: 19.94 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004647, allocations: 95.67 kB / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.004658, allocations: 0 / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004658, allocations: 0 / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.004673, allocations: 0 / 270.7 MB, free: 15.17 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.0003867/0.005059, allocations: 347.7 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.00509, allocations: 8.031 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.005122, allocations: 4.938 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.005262, allocations: 153.6 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.005276, allocations: 384 / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.005295, allocations: 4.375 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/0.005393, allocations: 65.77 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005402, allocations: 3.938 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.005408, allocations: 0 / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.005415, allocations: 7.984 kB / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.005439, allocations: 11.92 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.005657, allocations: 169.9 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.005753, allocations: 81.3 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.005772, allocations: 16.91 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.005782, allocations: 4 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.761e-05/0.005869, allocations: 70.14 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.00587, allocations: 0 / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000273/0.006143, allocations: 109.6 kB / 271.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.00617, allocations: 55.34 kB / 271.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.00627, allocations: 184.3 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.006285, allocations: 29.69 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.00632, allocations: 96.08 kB / 272.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.006346, allocations: 23.78 kB / 272.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.006378, allocations: 25.7 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.006456, allocations: 330.8 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.006475, allocations: 14.81 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.006496, allocations: 21.66 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.006539, allocations: 52.5 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.00654, allocations: 0 / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.948e-05/0.00662, allocations: 68.44 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.006631, allocations: 4 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006635, allocations: 0 / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006647, allocations: 4 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.006714, allocations: 23.97 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006718, allocations: 0 / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.006746, allocations: 7.984 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.006751, allocations: 0 / 272.7 MB, free: 13.03 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.514e-05/0.006816, allocations: 116.7 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.00683, allocations: 15.92 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.006933, allocations: 79.2 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006936, allocations: 0 / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006938, allocations: 0 / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006941, allocations: 4 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.007162, allocations: 295.4 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.007164, allocations: 0 / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.00719, allocations: 12 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.007201, allocations: 11.91 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007203, allocations: 0 / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.007211, allocations: 11.98 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007213, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.007214, allocations: 384 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/0.007308, allocations: 211 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.007325, allocations: 8 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.007363, allocations: 8.031 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.00739, allocations: 7.984 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.007401, allocations: 4 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.322e-05/0.007444, allocations: 59.62 kB / 273.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007444, allocations: 0 / 273.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.007592, allocations: 27.92 kB / 273.6 MB, free: 12.11 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.001245/0.008837, allocations: 0.6437 MB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.008935, allocations: 36.84 kB / 274.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.008942, allocations: 0 / 274.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.008984, allocations: 44.7 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.009209, allocations: 176.5 kB / 274.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.009643, allocations: 234.2 kB / 274.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.764e-05/0.00968, allocations: 67.34 kB / 274.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.00972, allocations: 16.94 kB / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.009787, allocations: 67.36 kB / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009787, allocations: 0 / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Templates: time 0.003663/0.01345, allocations: 2.029 MB / 276.9 MB, free: 8.707 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.607811775058508]