Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0007525/0.0007525, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.00182, 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.0007131/0.0007131, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009881/0.001701, 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 0.9378/0.9378, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09457/1.032, allocations: 53.65 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.2854/0.2854, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02635/0.3117, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.333e-05, allocations: 2.312 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00296/0.002983, allocations: 1.699 MB / 294.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.00388, allocations: 0.553 MB / 295.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.003941, allocations: 0 / 295.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.004215, allocations: 155.5 kB / 295.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.004493, allocations: 135.4 kB / 295.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.004786, allocations: 91.62 kB / 295.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.004971, allocations: 95.69 kB / 295.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.005064, allocations: 19.97 kB / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.005201, allocations: 75.8 kB / 295.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.005328, allocations: 67.86 kB / 295.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.005345, allocations: 4 kB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.005457, allocations: 51.86 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.005514, allocations: 27.92 kB / 295.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.005544, allocations: 15.88 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.005726, allocations: 91.62 kB / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.005737, allocations: 0 / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005737, allocations: 0 / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.005745, allocations: 0 / 295.9 MB, free: 3.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004359/0.006181, allocations: 352.9 kB / 296.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.006215, allocations: 12.03 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.006252, allocations: 12.86 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.006421, allocations: 153.5 kB / 296.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.00643, allocations: 4.375 kB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.006453, allocations: 4.375 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.006558, allocations: 58.94 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.006566, allocations: 192 / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.006575, allocations: 4.125 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006581, allocations: 4 kB / 296.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.006604, allocations: 4 kB / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.006849, allocations: 183 kB / 296.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.252e-05/0.006902, allocations: 30.56 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.006914, allocations: 8.859 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.006933, allocations: 4 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.006951, allocations: 38.5 kB / 296.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006952, allocations: 0 / 296.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000414/0.007366, allocations: 165.7 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.007396, allocations: 51.41 kB / 297 MB, free: 1.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.007519, allocations: 210.9 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.00753, allocations: 25.7 kB / 297.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.007571, allocations: 100.1 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.007602, allocations: 31.73 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.007639, allocations: 21.7 kB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.007736, allocations: 326.8 kB / 297.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.007755, allocations: 8 kB / 297.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.007766, allocations: 7.984 kB / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.007799, allocations: 28.83 kB / 297.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.0078, allocations: 0 / 297.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.256e-05/0.007873, allocations: 65.55 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.007883, allocations: 4 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007887, allocations: 0 / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.007897, allocations: 4 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.007965, allocations: 23.98 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.007967, allocations: 0 / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.007985, allocations: 4 kB / 297.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.007991, allocations: 4 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.291e-05/0.008044, allocations: 108.7 kB / 298 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.008062, allocations: 15.92 kB / 298 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.008158, allocations: 79.38 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.00816, allocations: 0 / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008161, allocations: 0 / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008165, allocations: 4 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.00844, allocations: 259.5 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008442, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.008494, allocations: 19.98 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.008506, allocations: 19.89 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008508, allocations: 0 / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.008513, allocations: 3.938 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.008515, allocations: 0 / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.008519, allocations: 7.938 kB / 298.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.0086, allocations: 160.3 kB / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.008613, allocations: 8 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.008646, allocations: 4 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.008669, allocations: 7.984 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008674, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.008728, allocations: 80.88 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008728, allocations: 0 / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000136/0.008864, allocations: 19.92 kB / 298.6 MB, free: 160 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0014/0.01026, allocations: 0.6328 MB / 299.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.01035, allocations: 32.78 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.01036, allocations: 0 / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.0104, allocations: 32.78 kB / 299.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01061, allocations: 95.39 kB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.01106, allocations: 261.4 kB / 299.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.0111, allocations: 75.33 kB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.01113, allocations: 12.72 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.01119, allocations: 63.36 kB / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0112, allocations: 0 / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Templates: time 0.003023/0.01422, allocations: 1.52 MB / 301.3 MB, free: 13.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.8716714028269053]