Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00198/0.003198, 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.001174/0.001174, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002768, 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.9081/0.9081, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1485/1.057, 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.1387/0.1387, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03151/0.1702, 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.38e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002316/0.002339, allocations: 1.774 MB / 269.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003346, allocations: 0.8074 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.003421, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.003639, allocations: 47.69 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.00379, allocations: 59.64 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.004026, allocations: 91.62 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.004195, allocations: 91.66 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.004285, allocations: 12.22 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.004417, allocations: 75.83 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.004498, allocations: 19.92 kB / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.004517, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.004619, allocations: 51.8 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.004671, allocations: 19.92 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.004702, allocations: 11.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.004886, allocations: 95.66 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.0049, allocations: 4 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004901, allocations: 0 / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.004912, allocations: 0 / 270.6 MB, free: 15.28 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.000499/0.005411, allocations: 327.9 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.005447, allocations: 12.03 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.005485, allocations: 4.938 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.005693, allocations: 145.5 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005709, allocations: 384 / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.005734, allocations: 12.3 kB / 271.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.005852, allocations: 61.77 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005862, allocations: 7.938 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005871, allocations: 4 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005876, allocations: 3.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.005899, allocations: 4 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.006129, allocations: 178 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.994e-05/0.006229, allocations: 85.23 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.006251, allocations: 16.83 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.006264, allocations: 4 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.006369, allocations: 66.16 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.00637, allocations: 4 kB / 271.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003248/0.006695, allocations: 117.5 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.006727, allocations: 51.41 kB / 271.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.006828, allocations: 164.3 kB / 271.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.006843, allocations: 25.7 kB / 271.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.006964, allocations: 96.11 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.006995, allocations: 27.8 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.007028, allocations: 21.7 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.007105, allocations: 322.8 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.007126, allocations: 18.75 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.007148, allocations: 25.7 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.00719, allocations: 40.52 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007191, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.051e-05/0.007272, allocations: 80.36 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.007286, allocations: 4 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.007291, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007304, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.007376, allocations: 16 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.00738, allocations: 3.984 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.00741, allocations: 15.91 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007416, allocations: 0 / 272.6 MB, free: 13.17 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.914e-05/0.007485, allocations: 116.7 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.0075, allocations: 15.92 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.00761, allocations: 78.52 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007612, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.007614, allocations: 3.938 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007617, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.007849, allocations: 291.4 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.007852, allocations: 4.031 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.007884, allocations: 12 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.007896, allocations: 11.91 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.007899, allocations: 4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.007905, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.007907, allocations: 3.984 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007909, allocations: 384 / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.008022, allocations: 219 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.008039, allocations: 4 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.00808, allocations: 8 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.008107, allocations: 7.984 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.00812, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.00816, allocations: 48.52 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00816, allocations: 0 / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.00831, 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.001469/0.009779, allocations: 0.64 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.009892, allocations: 44.72 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.009902, allocations: 7.984 kB / 274.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.00994, allocations: 24.86 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.0002544/0.01019, allocations: 180.3 kB / 274.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.01073, allocations: 230.7 kB / 274.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01077, allocations: 63.34 kB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.01082, 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 7.291e-05/0.01089, allocations: 67.36 kB / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01089, allocations: 0 / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of Templates: time 0.003924/0.01482, allocations: 2.037 MB / 276.7 MB, free: 8.867 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.7352035641670227]