Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001203/0.001203, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002053/0.003256, 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.001621/0.001621, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001922/0.003543, 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.128, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2749/0.2749, allocations: 32.79 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02416/0.2991, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.103e-05, allocations: 8.078 kB / 290.6 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003732/0.003764, allocations: 1.744 MB / 292.4 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00095/0.004713, allocations: 0.5864 MB / 293 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.00479, allocations: 1.906 kB / 293 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.005046, allocations: 70.59 kB / 293 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.005308, allocations: 99.83 kB / 293.1 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.005747, allocations: 184.9 kB / 293.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.005928, allocations: 91.19 kB / 293.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.006026, allocations: 24.14 kB / 293.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.006126, allocations: 59.88 kB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.006206, allocations: 43.89 kB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.00622, allocations: 4 kB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.006313, allocations: 51.86 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.006365, allocations: 23.92 kB / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.006396, allocations: 19.94 kB / 293.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.006542, allocations: 87.61 kB / 293.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.006561, allocations: 7.984 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006563, allocations: 0 / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.006582, allocations: 4 kB / 293.7 MB, free: 5.164 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000419/0.007001, allocations: 320.6 kB / 294 MB, free: 4.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.00703, allocations: 8.031 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.007061, allocations: 16.86 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.007199, allocations: 138.3 kB / 294.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.007209, allocations: 4.375 kB / 294.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.007226, allocations: 8.375 kB / 294.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.599e-05/0.007322, allocations: 58.94 kB / 294.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.00733, allocations: 4.188 kB / 294.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.007339, allocations: 8.125 kB / 294.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.007344, allocations: 0 / 294.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.969e-05/0.007374, allocations: 15.92 kB / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.007611, allocations: 187 kB / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.007745, allocations: 42.52 kB / 294.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.007761, allocations: 8.859 kB / 294.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.007783, allocations: 12.12 kB / 294.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.007806, allocations: 34.5 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.007808, allocations: 0 / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005098/0.008317, allocations: 206.6 kB / 294.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.008354, allocations: 55.34 kB / 294.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.008457, allocations: 166.9 kB / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.008471, allocations: 33.7 kB / 295 MB, free: 3.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.008502, allocations: 100.1 kB / 295.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.008532, allocations: 43.61 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.008563, allocations: 21.7 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.008639, allocations: 326.8 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.008656, allocations: 11.98 kB / 295.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.008672, allocations: 8 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.008724, allocations: 49.33 kB / 295.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.008726, allocations: 0 / 295.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.981e-05/0.008805, allocations: 69.61 kB / 295.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008818, allocations: 4 kB / 295.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008823, allocations: 4 kB / 295.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008834, allocations: 4 kB / 295.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.008902, allocations: 23.98 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.008906, allocations: 3.984 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.008931, allocations: 11.98 kB / 295.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.008937, allocations: 0 / 295.7 MB, free: 3.039 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 (11): * Single equations (assignments): 11 * 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.057e-05/0.008997, allocations: 120.6 kB / 295.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.009015, allocations: 7.984 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.009134, allocations: 96.61 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009136, allocations: 4 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.009138, allocations: 0 / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.009141, allocations: 0 / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.009402, allocations: 288.2 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009404, allocations: 0 / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.009457, allocations: 23.98 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.009467, allocations: 7.953 kB / 296.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.00947, allocations: 4 kB / 296.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.009477, allocations: 4 kB / 296.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.009479, allocations: 4.25 kB / 296.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.009483, allocations: 7.938 kB / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.0096, allocations: 177.2 kB / 296.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.009614, allocations: 4 kB / 296.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.009666, allocations: 15.92 kB / 296.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.009699, allocations: 7.922 kB / 296.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.009707, allocations: 4 kB / 296.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.497e-05/0.009761, allocations: 48.47 kB / 296.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009762, allocations: 0 / 296.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.009921, allocations: 31.92 kB / 296.5 MB, free: 2.129 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001467/0.01139, allocations: 0.6224 MB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.902e-05/0.01149, allocations: 44.77 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.0115, allocations: 8 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.01153, allocations: 32.78 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.01172, allocations: 38.23 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.01222, allocations: 269 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.01227, allocations: 75.33 kB / 297.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.01231, allocations: 20.59 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01237, allocations: 59.38 kB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01237, allocations: 0 / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Templates: time 0.003467/0.01584, allocations: 1.77 MB / 299.5 MB, free: 15.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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.016500865109265]