Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0007366/0.0007366, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009397/0.001676, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006646/0.0006646, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008722/0.001537, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.121/1.121, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0887/1.21, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2626/0.2626, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02317/0.2858, allocations: 13.09 MB / 291.3 MB, free: 7.379 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.774e-05, allocations: 6.312 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001952/0.00197, allocations: 1.813 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.0031, allocations: 1.018 MB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.00317, allocations: 4 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.00334, allocations: 39.75 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.003533, allocations: 103.4 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.003677, allocations: 67.69 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.003811, allocations: 115.6 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.659e-05/0.003878, allocations: 11.92 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.003988, allocations: 79.88 kB / 296 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.004059, allocations: 27.84 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.004073, allocations: 4 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.004145, allocations: 47.86 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.004183, allocations: 15.94 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.004212, allocations: 15.94 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.004351, allocations: 103.7 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.004362, allocations: 0 / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004363, allocations: 3.938 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.004371, allocations: 0 / 296.2 MB, free: 2.742 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.0003713/0.004742, allocations: 337 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.004772, allocations: 8.031 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.004801, allocations: 12.92 kB / 296.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004941, allocations: 150.5 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.004955, allocations: 8.359 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.004971, allocations: 4.375 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.005068, allocations: 61.77 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.005076, allocations: 7.938 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.005083, allocations: 7.984 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.005087, allocations: 0 / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.005111, allocations: 4 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.005291, allocations: 173.8 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.148e-05/0.005372, allocations: 81.3 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.005393, allocations: 16.92 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.005402, allocations: 4 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.783e-05/0.00549, allocations: 70.11 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.00549, allocations: 0 / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002539/0.005744, allocations: 109.6 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.005772, allocations: 51.41 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.00587, allocations: 184.8 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.005885, allocations: 29.7 kB / 297.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.005913, allocations: 96.11 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.005942, allocations: 31.73 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.005975, allocations: 25.64 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.00605, allocations: 330.7 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.006064, allocations: 14.83 kB / 298 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.006087, allocations: 21.7 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.006125, allocations: 40.52 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.006126, allocations: 0 / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.838e-05/0.006194, allocations: 76.44 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.006204, allocations: 4 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.006208, allocations: 4 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.006215, allocations: 0 / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.006276, allocations: 19.98 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.00628, allocations: 7.969 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.006305, allocations: 4 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006311, allocations: 4 kB / 298.1 MB, free: 0.6016 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.248e-05/0.006373, allocations: 120.7 kB / 298.2 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.006384, allocations: 7.938 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.006481, allocations: 75.06 kB / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.006483, allocations: 4 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006485, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.006489, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.006694, allocations: 299.4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.006694, allocations: 0 / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.006719, allocations: 11.98 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.006728, allocations: 11.91 kB / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00673, allocations: 4 kB / 298.7 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.006736, allocations: 4.375 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006737, allocations: 0 / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.006738, allocations: 4 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.006849, allocations: 227 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.006862, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.00691, allocations: 12.03 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.006932, allocations: 7.984 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.006941, allocations: 0 / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.006982, allocations: 55.64 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006982, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.007121, allocations: 23.94 kB / 299 MB, free: 15.68 MB / 298.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.0013/0.008421, allocations: 0.6459 MB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.008498, allocations: 40.78 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.008505, allocations: 4 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.008532, allocations: 28.92 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008702, allocations: 46.81 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.009101, allocations: 243.8 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.009141, allocations: 67.34 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.009175, allocations: 12.97 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.009238, allocations: 71.36 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009238, allocations: 3.938 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Templates: time 0.003269/0.01251, allocations: 2.039 MB / 302.2 MB, free: 12.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.908822921104729]