Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001199/0.001199, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0019/0.0031, 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.00109/0.00109, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002485, 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.123, allocations: 53.66 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.2723/0.2723, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04543/0.3178, allocations: 12.53 MB / 289.3 MB, free: 8.691 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.61e-05, allocations: 10.22 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002375/0.002401, allocations: 1.726 MB / 292.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000808/0.003209, allocations: 0.5618 MB / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.003273, allocations: 0 / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.003699, allocations: 494.5 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.004061, allocations: 311.1 kB / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.004407, allocations: 135.5 kB / 293.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.00469, allocations: 171.6 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.004776, allocations: 7.984 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.00496, allocations: 155.8 kB / 294.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.005121, allocations: 191.6 kB / 294.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.005136, allocations: 4 kB / 294.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.005229, allocations: 39.91 kB / 294.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.00531, allocations: 83.72 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.005344, allocations: 31.75 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.005551, allocations: 191.2 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.831e-05/0.005569, allocations: 0 / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00557, allocations: 4 kB / 294.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.005587, allocations: 3.938 kB / 294.7 MB, free: 4.207 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.0005581/0.006145, allocations: 0.5961 MB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.006181, allocations: 8.031 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.006233, allocations: 24.91 kB / 295.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.006469, allocations: 242.1 kB / 295.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.006483, allocations: 4.375 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.006504, allocations: 384 / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.006675, allocations: 54.95 kB / 295.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.006687, allocations: 4.141 kB / 295.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.006698, allocations: 8.125 kB / 295.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.006706, allocations: 7.938 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.006738, allocations: 11.92 kB / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.007025, allocations: 156.3 kB / 295.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.00721, allocations: 34.62 kB / 295.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.007225, allocations: 12.78 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.00725, allocations: 8 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.00728, allocations: 34.5 kB / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.007282, allocations: 0 / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003442/0.007626, allocations: 101.6 kB / 296 MB, free: 2.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.007657, allocations: 55.41 kB / 296 MB, free: 2.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.007969, allocations: 0.5282 MB / 296.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.00798, allocations: 25.7 kB / 296.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.008045, allocations: 141.3 kB / 296.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.008068, allocations: 15.84 kB / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.008099, allocations: 17.72 kB / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.008205, allocations: 358.7 kB / 297.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.008218, allocations: 4 kB / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.008228, allocations: 0 / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.008262, allocations: 25.02 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008264, allocations: 4 kB / 297.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.171e-05/0.008336, allocations: 77.53 kB / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.008349, allocations: 4 kB / 297.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008355, allocations: 4 kB / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.008365, allocations: 0 / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.008418, allocations: 8 kB / 297.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008421, allocations: 0 / 297.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.008445, allocations: 7.984 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.00845, allocations: 0 / 297.3 MB, free: 1.484 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 (5): * Single equations (assignments): 5 * 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.582e-05/0.008515, allocations: 108.7 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.00854, allocations: 35.91 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.008662, allocations: 85.17 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.008664, allocations: 4 kB / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.008666, allocations: 0 / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008668, allocations: 0 / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.008908, allocations: 274.6 kB / 297.7 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.00891, allocations: 0 / 297.7 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.00895, allocations: 11.94 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.008972, allocations: 35.66 kB / 297.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008975, allocations: 4 kB / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.00898, allocations: 7.984 kB / 297.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008982, allocations: 0 / 297.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008983, allocations: 0 / 297.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.616e-05/0.009069, allocations: 167.6 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.009084, allocations: 3.984 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.00912, allocations: 4 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.009142, allocations: 0 / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.009145, allocations: 0 / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.009318, allocations: 287.2 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009318, allocations: 0 / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001326/0.009451, allocations: 20 kB / 298.3 MB, free: 408 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001317/0.01077, allocations: 0.5521 MB / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.01085, allocations: 24.84 kB / 298.9 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.01086, allocations: 4 kB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.01088, allocations: 16.84 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.01109, allocations: 44.27 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.01182, allocations: 0.5773 MB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.01189, allocations: 119.2 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.01192, allocations: 8 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.01196, allocations: 67.36 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01196, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003641/0.01561, allocations: 1.47 MB / 301.2 MB, free: 13.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.0269941091537476]