Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001316/0.001316, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001439/0.001439, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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.9478/0.9478, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1502/0.1502, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test28,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.214e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00209/0.002112, allocations: 1.646 MB / 378.9 MB, free: 23.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006785/0.002791, allocations: 0.5219 MB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.002865, allocations: 4 kB / 379.5 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.00315, allocations: 111.6 kB / 379.6 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.003408, allocations: 119.5 kB / 379.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.003632, allocations: 95.62 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.003794, allocations: 95.73 kB / 379.9 MB, free: 22.99 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.003882, allocations: 11.98 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.00394, allocations: 47.83 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.00404, allocations: 67.91 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.004053, allocations: 4 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.004139, allocations: 51.84 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.004184, allocations: 27.92 kB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.004206, allocations: 15.94 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.004342, allocations: 103.5 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004344, allocations: 0 / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004345, allocations: 0 / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004349, allocations: 0 / 380.2 MB, free: 22.67 MB / 314.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.0002883/0.004638, allocations: 455.8 kB / 380.6 MB, free: 22.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.004669, allocations: 11.98 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.004699, allocations: 20.84 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.0048, allocations: 149.2 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.004807, allocations: 384 / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.004823, allocations: 8.375 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.71e-05/0.004901, allocations: 62.88 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004909, allocations: 192 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.004915, allocations: 4.125 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.00492, allocations: 4 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.00494, allocations: 11.98 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.005146, allocations: 272.3 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.764e-05/0.005194, allocations: 39.09 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.005207, allocations: 15.67 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.005222, allocations: 0 / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.005235, allocations: 41.33 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.005237, allocations: 7.984 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003862/0.005623, allocations: 149.4 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.005644, allocations: 55.41 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.005736, allocations: 260.9 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.005741, allocations: 29.64 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.005778, allocations: 162.8 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.005799, allocations: 31.73 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.005825, allocations: 27.38 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.005875, allocations: 0.5079 MB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.005889, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.005904, allocations: 16.05 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.00594, allocations: 27.69 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.005941, allocations: 3.938 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.621e-05/0.006017, allocations: 73.58 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.00603, allocations: 5.875 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006036, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.006043, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.006104, allocations: 23.92 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.006107, allocations: 4 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.006124, allocations: 0 / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.006129, allocations: 4 kB / 382.6 MB, free: 20.02 MB / 314.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 4.203e-05/0.006171, allocations: 160.5 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.006193, allocations: 11.95 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.006299, allocations: 91.02 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006301, allocations: 0 / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006302, allocations: 4 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.006305, allocations: 3.938 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.006529, allocations: 353.6 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006531, allocations: 4 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.006566, allocations: 15.98 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.006569, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.006574, allocations: 4 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006575, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006576, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.006657, allocations: 239.8 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.006667, allocations: 11.91 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.006677, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.006709, allocations: 7.984 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.006732, allocations: 12.03 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.006736, allocations: 3.984 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.006779, allocations: 175.1 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006779, allocations: 0 / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.006944, allocations: 27.92 kB / 383.7 MB, free: 18.84 MB / 314.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.0008038/0.007748, allocations: 421.7 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.007839, allocations: 47.59 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007841, allocations: 0 / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.007863, allocations: 35.61 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.008069, allocations: 22.77 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.008353, allocations: 241.4 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.00838, allocations: 71.33 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.304e-05/0.008413, allocations: 13.03 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.008454, allocations: 82.19 kB / 384.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008455, allocations: 4.062 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of Templates: time 0.002715/0.01117, allocations: 1.549 MB / 386.2 MB, free: 16.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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: 3.3031874778680503]