Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.000744/0.000744, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001863, 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.0006882/0.0006882, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009286/0.001617, 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.8788/0.8788, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.143/1.022, allocations: 49.5 MB / 220.7 MB, free: 1.367 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.1327/0.1327, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04254/0.1752, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 3.938 kB / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.505e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002434/0.002449, allocations: 1.778 MB / 269.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.00346, allocations: 0.8036 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.003525, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.003704, allocations: 59.62 kB / 270.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.003836, allocations: 63.69 kB / 270.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.003993, allocations: 83.64 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.004126, allocations: 99.58 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.004202, allocations: 8.234 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.004309, allocations: 75.88 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.00438, allocations: 23.92 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.004397, allocations: 7.938 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.04e-05/0.004478, allocations: 47.86 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.00452, allocations: 23.92 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.004551, allocations: 15.94 kB / 270.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.004703, allocations: 107.6 kB / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.004713, allocations: 0 / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004714, allocations: 0 / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.004722, allocations: 0 / 270.7 MB, free: 15.26 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.000414/0.005136, allocations: 363.5 kB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.005165, allocations: 8.031 kB / 271 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.005196, allocations: 12.92 kB / 271 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.005333, allocations: 153.5 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.005347, allocations: 8.312 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.005365, allocations: 8.359 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.564e-05/0.00546, allocations: 61.77 kB / 271.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.00547, allocations: 3.938 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.005477, allocations: 4 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005482, allocations: 0 / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.005503, allocations: 7.938 kB / 271.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.005681, allocations: 178 kB / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.005781, allocations: 81.3 kB / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.005803, allocations: 20.84 kB / 271.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.005814, allocations: 0 / 271.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.005915, allocations: 78.08 kB / 271.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.005916, allocations: 0 / 271.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002977/0.006214, allocations: 113.5 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.006244, allocations: 55.41 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.006358, allocations: 211.7 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.006372, allocations: 25.7 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.006403, allocations: 100.1 kB / 272.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.006427, allocations: 31.83 kB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.006455, allocations: 17.72 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.006529, allocations: 326.8 kB / 272.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.006545, allocations: 14.81 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.006568, allocations: 21.7 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.006608, allocations: 44.45 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006609, allocations: 0 / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.231e-05/0.006682, allocations: 76.42 kB / 272.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.0067, allocations: 8 kB / 272.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.006703, allocations: 4.031 kB / 272.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.006717, allocations: 0 / 272.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.006784, allocations: 23.92 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006786, allocations: 0 / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.006812, allocations: 3.938 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006818, allocations: 4 kB / 272.7 MB, free: 13.05 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.13e-05/0.006879, allocations: 116.7 kB / 272.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.006893, allocations: 11.92 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.006998, allocations: 87.19 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.007, allocations: 3.938 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007002, allocations: 4 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007005, allocations: 0 / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.007223, allocations: 299.4 kB / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007224, allocations: 0 / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.007251, allocations: 11.98 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.007263, allocations: 11.91 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.007266, allocations: 4 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.007271, allocations: 0 / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007272, allocations: 0 / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007273, allocations: 384 / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007375, allocations: 227 kB / 273.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.00739, allocations: 0 / 273.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.007429, allocations: 8 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.007455, allocations: 15.97 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.007464, allocations: 0 / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.424e-05/0.007519, allocations: 72.81 kB / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007519, allocations: 0 / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.007664, allocations: 27.98 kB / 273.6 MB, free: 12.1 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.001261/0.008925, allocations: 0.6322 MB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.009011, allocations: 40.77 kB / 274.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.009017, allocations: 4 kB / 274.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.009056, allocations: 32.97 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.0002434/0.0093, allocations: 188.3 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.0004614/0.009761, allocations: 258.8 kB / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.009807, allocations: 72.27 kB / 274.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.238e-05/0.009839, allocations: 12.48 kB / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.009915, allocations: 71.36 kB / 274.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.009916, allocations: 0 / 274.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of Templates: time 0.003523/0.01344, allocations: 2.056 MB / 276.9 MB, free: 8.645 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.7433318933472037]