Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001204/0.001204, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001912/0.003116, 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.0008544/0.0008544, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001213/0.002067, 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.9202/0.9202, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1602/1.08, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1691/0.1691, allocations: 32.34 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02547/0.1946, allocations: 12.32 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.29e-05, allocations: 6.25 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003131/0.003154, allocations: 1.77 MB / 269.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004539, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.004628, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.004913, allocations: 95.56 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.005114, allocations: 75.61 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.005388, allocations: 91.69 kB / 270.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.005591, allocations: 111.6 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.005672, allocations: 12.16 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.005826, allocations: 79.88 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.005936, allocations: 47.83 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.005957, allocations: 4 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.006058, allocations: 47.86 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.006107, allocations: 19.94 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.006145, allocations: 15.94 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.006342, allocations: 99.66 kB / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.006354, allocations: 0 / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006355, allocations: 3.938 kB / 270.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.006365, allocations: 0 / 270.7 MB, free: 15.16 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.0004864/0.006852, allocations: 343.7 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.006882, allocations: 8.031 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.006922, allocations: 12.92 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.007109, allocations: 145.6 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.007128, allocations: 4.375 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.007149, allocations: 384 / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.007294, allocations: 69.77 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.007306, allocations: 3.938 kB / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.007314, allocations: 0 / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.007322, allocations: 7.922 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.107e-05/0.007353, allocations: 7.984 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.00762, allocations: 174 kB / 271.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.007743, allocations: 81.3 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.007769, allocations: 12.86 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.007781, allocations: 4 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.007903, allocations: 74.09 kB / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.007904, allocations: 0 / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000497/0.008401, allocations: 113.5 kB / 271.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.008437, allocations: 51.41 kB / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.008578, allocations: 180.3 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.008596, allocations: 33.7 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.008637, allocations: 100 kB / 272.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.008667, allocations: 19.8 kB / 272.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.008707, allocations: 29.69 kB / 272.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.008797, allocations: 330.8 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.00882, allocations: 6.828 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.008853, allocations: 33.62 kB / 272.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.00891, allocations: 40.45 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.008911, allocations: 0 / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.009016, allocations: 72.38 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.00903, allocations: 8 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.009034, allocations: 0 / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.009046, allocations: 0 / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.009135, allocations: 24.02 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.009138, allocations: 0 / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.00918, allocations: 8 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.009186, allocations: 0 / 272.7 MB, free: 13.02 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 7.391e-05/0.00926, allocations: 116.7 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.009285, allocations: 11.92 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.009398, allocations: 83.19 kB / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.009401, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009402, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.009406, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.00963, allocations: 299.4 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.009632, allocations: 0 / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.009667, allocations: 15.98 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.009678, allocations: 11.91 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.00968, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.009686, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.009689, allocations: 3.938 kB / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.009692, allocations: 4.375 kB / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.009801, allocations: 211.1 kB / 273.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.009817, allocations: 3.984 kB / 273.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.009862, allocations: 16.03 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.00989, allocations: 11.92 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.009901, allocations: 0 / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.012e-05/0.009951, allocations: 59.64 kB / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009951, allocations: 0 / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.0101, allocations: 23.94 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.001217/0.01132, allocations: 0.6438 MB / 274.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.0114, allocations: 40.83 kB / 274.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.01141, allocations: 3.938 kB / 274.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.01144, allocations: 24.8 kB / 274.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01167, allocations: 188.4 kB / 274.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.01208, allocations: 234.2 kB / 274.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.01212, allocations: 67.33 kB / 274.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.362e-05/0.01215, allocations: 12.5 kB / 274.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.01222, allocations: 63.36 kB / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01222, allocations: 4 kB / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Templates: time 0.003477/0.0157, allocations: 2.045 MB / 276.9 MB, free: 8.688 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.881159670650959]