Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001195/0.001195, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002905, 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.0009806/0.0009806, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.002272, 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09852/1.111, 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.311/0.311, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02648/0.3375, 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 1.188 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.499e-05, allocations: 8.094 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002074/0.002089, allocations: 1.735 MB / 292.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.002853, allocations: 0.5572 MB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.002909, allocations: 0 / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.003316, allocations: 490 kB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.003646, allocations: 315.1 kB / 293.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.003925, allocations: 127.6 kB / 293.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.00413, allocations: 175.6 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.004214, allocations: 8 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.004372, allocations: 155.8 kB / 294.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.004528, allocations: 191.7 kB / 294.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.004542, allocations: 4 kB / 294.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.004619, allocations: 39.91 kB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.004693, allocations: 79.72 kB / 294.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.004725, allocations: 35.69 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.004915, allocations: 195.2 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.004929, allocations: 0 / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00493, allocations: 4 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.004945, allocations: 0 / 294.7 MB, free: 4.199 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.0005598/0.005505, allocations: 0.5922 MB / 295.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.005537, allocations: 8.031 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.00558, allocations: 28.91 kB / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.005774, allocations: 242 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.005785, allocations: 4.375 kB / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.005802, allocations: 4.375 kB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.005904, allocations: 58.94 kB / 295.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.005915, allocations: 4.141 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.005922, allocations: 8.125 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005927, allocations: 0 / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.00595, allocations: 4 kB / 295.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.00618, allocations: 168.2 kB / 295.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.006321, allocations: 30.64 kB / 295.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.006337, allocations: 16.92 kB / 295.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.006355, allocations: 0 / 295.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.006377, allocations: 34.5 kB / 295.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.006377, allocations: 0 / 295.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002825/0.00666, allocations: 97.53 kB / 296 MB, free: 2.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.006695, allocations: 59.41 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.007015, allocations: 0.5321 MB / 296.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.007026, allocations: 25.7 kB / 296.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.007086, allocations: 141.3 kB / 296.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.007113, allocations: 19.83 kB / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.007138, allocations: 13.72 kB / 296.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.00723, allocations: 362.6 kB / 297.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.007243, allocations: 8 kB / 297.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.007254, allocations: 7.984 kB / 297.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.007281, allocations: 21.03 kB / 297.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007282, allocations: 4 kB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.426e-05/0.007346, allocations: 61.61 kB / 297.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007359, allocations: 8 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.007363, allocations: 0 / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.00737, allocations: 0 / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.007423, allocations: 15.92 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.007426, allocations: 0 / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.007449, allocations: 4 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007454, allocations: 4 kB / 297.3 MB, free: 1.473 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.488e-05/0.007519, allocations: 112.7 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.007543, allocations: 27.91 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.007651, allocations: 85.23 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007654, allocations: 0 / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007657, allocations: 3.984 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.007659, allocations: 0 / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.007886, allocations: 278.5 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007887, allocations: 0 / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.007921, allocations: 11.98 kB / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.007945, allocations: 35.72 kB / 297.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007947, allocations: 0 / 297.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.007951, allocations: 4 kB / 297.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007952, allocations: 0 / 297.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007953, allocations: 0 / 297.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/0.008041, allocations: 171.6 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.008055, allocations: 4 kB / 298 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.008092, allocations: 4 kB / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.008114, allocations: 3.984 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.008118, allocations: 7.938 kB / 298 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.00829, allocations: 279.2 kB / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00829, allocations: 0 / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.008429, allocations: 20 kB / 298.3 MB, free: 396 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.001205/0.009635, allocations: 0.5465 MB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.416e-05/0.009709, allocations: 32.77 kB / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.009717, allocations: 4 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.009735, allocations: 12.86 kB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.00993, allocations: 48.95 kB / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.01064, allocations: 0.5734 MB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.282e-05/0.01071, allocations: 119.2 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.01074, allocations: 8 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.01079, allocations: 63.36 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01079, allocations: 0 / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Templates: time 0.003748/0.01454, allocations: 1.472 MB / 301.2 MB, free: 13.78 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.2155732680112123]