Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.000715/0.000715, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001749, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006765/0.0006765, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008756/0.001552, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.098/1.121, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.247/0.247, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02591/0.2729, allocations: 13.1 MB / 291.5 MB, free: 7.352 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 3.938 kB / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.882e-05, allocations: 7.516 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002122/0.002141, allocations: 1.768 MB / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003278, allocations: 1.002 MB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.003351, allocations: 4 kB / 295.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.003578, allocations: 47.7 kB / 295.7 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.003807, allocations: 107.4 kB / 295.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003949, allocations: 75.56 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.004114, allocations: 107.6 kB / 296 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.00416, allocations: 4.234 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.004286, allocations: 75.88 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/0.004361, allocations: 27.84 kB / 296.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.004376, allocations: 4 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.004449, allocations: 39.86 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.004508, allocations: 23.94 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.004543, allocations: 15.94 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004699, allocations: 95.59 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.004712, allocations: 4 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004713, allocations: 0 / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.004723, allocations: 0 / 296.3 MB, free: 2.707 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004541/0.005177, allocations: 360.9 kB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.005211, allocations: 12.03 kB / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.005244, allocations: 4.938 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.005434, allocations: 162.4 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.005466, allocations: 8.359 kB / 296.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.005479, allocations: 384 / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.005597, allocations: 57.77 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.005607, allocations: 7.938 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.005614, allocations: 0 / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.00562, allocations: 4 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.005639, allocations: 4 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.986e-05/0.005729, allocations: 70.69 kB / 297 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.00581, allocations: 41.38 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005828, allocations: 12.86 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.005839, allocations: 0 / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.478e-05/0.005934, allocations: 66.2 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.005935, allocations: 0 / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001216/0.006056, allocations: 65.61 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.006089, allocations: 55.34 kB / 297.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.006212, allocations: 209.3 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.006226, allocations: 29.69 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.006254, allocations: 96.11 kB / 297.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.006284, allocations: 19.83 kB / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.00631, allocations: 17.72 kB / 297.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.006388, allocations: 326.8 kB / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.006412, allocations: 10.81 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.006436, allocations: 25.7 kB / 297.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.00648, allocations: 35.61 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006483, allocations: 3.938 kB / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.229e-05/0.006555, allocations: 60.5 kB / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.006569, allocations: 8.625 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006574, allocations: 0 / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.006587, allocations: 0 / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.006653, allocations: 15.88 kB / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.006659, allocations: 12.02 kB / 298.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.006685, allocations: 0 / 298.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.006693, allocations: 7.984 kB / 298.1 MB, free: 0.75 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 (7): * Single equations (assignments): 7 * 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.802e-05/0.006761, allocations: 112.7 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.006771, allocations: 11.98 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.517e-05/0.006866, allocations: 70.77 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006868, allocations: 0 / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.006871, allocations: 3.938 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006874, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.671e-05/0.006951, allocations: 89.84 kB / 298.4 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006952, allocations: 0 / 298.4 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.006978, allocations: 15.94 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.006994, allocations: 11.91 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006995, allocations: 0 / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.007001, allocations: 0 / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007003, allocations: 0 / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.007005, allocations: 3.938 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.428e-05/0.00708, allocations: 90.94 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.007096, allocations: 7.984 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.007118, allocations: 4 kB / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.007142, allocations: 0 / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.007154, allocations: 8 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.007212, allocations: 79.69 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007212, allocations: 0 / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.007336, allocations: 19.94 kB / 298.6 MB, free: 172 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001212/0.008548, allocations: 0.5628 MB / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.008635, allocations: 36.78 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.008644, allocations: 4 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.008672, allocations: 16.94 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.008866, allocations: 184.1 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.009312, allocations: 227.2 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.009353, allocations: 71.33 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.009386, allocations: 8.484 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.009448, allocations: 71.36 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009448, allocations: 3.938 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of Templates: time 0.003721/0.01317, allocations: 1.834 MB / 301.6 MB, free: 13.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.8395513789728284]