Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001218/0.001218, allocations: 89.05 kB / 9.989 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001759/0.002977, allocations: 452 kB / 10.43 MB, free: 260 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.00109/0.00109, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002571, allocations: 483.5 kB / 11.8 MB, free: 2.359 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.8763/0.8763, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1644/1.041, 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.1498/0.1498, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02167/0.1715, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.065e-05, allocations: 10.19 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002417/0.002447, allocations: 1.766 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003454, allocations: 0.8152 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.003535, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.003734, allocations: 43.7 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.003871, allocations: 51.64 kB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.004047, allocations: 95.62 kB / 270.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.004194, allocations: 95.66 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.00428, allocations: 20.16 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.004394, allocations: 63.89 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.004471, allocations: 23.91 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.00449, allocations: 4 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.004561, allocations: 43.81 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.004607, allocations: 23.92 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.004636, allocations: 12 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004786, allocations: 91.59 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.004798, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004798, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.004808, allocations: 4 kB / 270.6 MB, free: 15.3 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.0004161/0.005224, allocations: 323.9 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.005254, allocations: 8.031 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.005285, allocations: 8.922 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.005431, allocations: 141.5 kB / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.005447, allocations: 8.375 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.005467, allocations: 384 / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.005578, allocations: 69.75 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.005588, allocations: 3.938 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.005595, allocations: 0 / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005602, allocations: 7.984 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.005626, allocations: 8 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.005826, allocations: 177.8 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.936e-05/0.005915, allocations: 85.36 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.005935, allocations: 12.86 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.005946, allocations: 0 / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.486e-05/0.006041, allocations: 74.12 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.006042, allocations: 0 / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002744/0.006317, allocations: 117.5 kB / 271.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.006338, allocations: 51.41 kB / 271.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.006421, allocations: 156.2 kB / 271.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.006435, allocations: 33.7 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.006463, allocations: 92.11 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.006489, allocations: 31.7 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.006515, allocations: 17.72 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.00658, allocations: 326.8 kB / 272.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.006596, allocations: 10.83 kB / 272.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.006618, allocations: 25.7 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.00666, allocations: 48.58 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.00666, allocations: 0 / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.227e-05/0.006733, allocations: 72.38 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.006743, allocations: 4 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.006746, allocations: 0 / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006757, allocations: 4 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.00682, allocations: 19.92 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.006823, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.006848, allocations: 8 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.006853, allocations: 0 / 272.5 MB, free: 13.21 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 5.388e-05/0.006906, allocations: 120.7 kB / 272.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.006919, allocations: 15.94 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.998e-05/0.007009, allocations: 78.5 kB / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.00701, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007012, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.007015, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.007209, allocations: 299.4 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007209, allocations: 0 / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.007236, allocations: 8 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.007246, allocations: 15.97 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007248, allocations: 3.938 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.007253, allocations: 4 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.007254, allocations: 0 / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007255, allocations: 384 / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.757e-05/0.007342, allocations: 215 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.007357, allocations: 4 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.007395, allocations: 7.984 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.007418, allocations: 8 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.00743, allocations: 7.984 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.007463, allocations: 39.66 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007463, allocations: 0 / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.0076, allocations: 27.92 kB / 273.4 MB, free: 12.3 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.001225/0.008824, allocations: 0.6361 MB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.00891, allocations: 44.83 kB / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.008917, allocations: 7.938 kB / 274.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.008953, allocations: 24.84 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.009189, allocations: 176.3 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.009609, allocations: 218.5 kB / 274.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.00965, allocations: 63.53 kB / 274.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.009682, allocations: 16.95 kB / 274.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.009745, allocations: 67.36 kB / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009745, allocations: 0 / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of Templates: time 0.003577/0.01332, allocations: 2.038 MB / 276.6 MB, free: 8.914 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.7036315193399787]