Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001736/0.002847, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002275, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8931/0.8931, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.198/1.091, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.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.134/0.134, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02115/0.1551, allocations: 12.54 MB / 284.5 MB, free: 9.703 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.344e-05, allocations: 2.312 kB / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002848/0.002872, allocations: 1.715 MB / 287.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.004431, allocations: 1.185 MB / 288.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.004485, allocations: 4 kB / 288.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.00462, allocations: 23.8 kB / 288.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.004803, allocations: 43.64 kB / 288.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.00514, allocations: 131.6 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.005277, allocations: 59.8 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.005365, allocations: 24.16 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.005473, allocations: 47.84 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.005568, allocations: 19.97 kB / 289.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.005585, allocations: 7.938 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.00573, allocations: 55.8 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.005778, allocations: 11.98 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.0058, allocations: 11.94 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.005972, allocations: 75.75 kB / 289.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.005984, allocations: 4 kB / 289.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005985, allocations: 0 / 289.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.005993, allocations: 0 / 289.3 MB, free: 4.945 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.0003986/0.006392, allocations: 304.1 kB / 289.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.006424, allocations: 12.03 kB / 289.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.006461, allocations: 8.922 kB / 289.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.006602, allocations: 125.7 kB / 289.7 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.006611, allocations: 384 / 289.7 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.006634, allocations: 8.328 kB / 289.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.006777, allocations: 102.3 kB / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006787, allocations: 4.188 kB / 289.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.006795, allocations: 7.938 kB / 289.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.006801, allocations: 0 / 289.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.00683, allocations: 11.94 kB / 289.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.007064, allocations: 168.3 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.007128, allocations: 22.58 kB / 290 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.007152, allocations: 12.94 kB / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.007171, allocations: 0 / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.007197, allocations: 42.44 kB / 290.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.007198, allocations: 4 kB / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003468/0.007545, allocations: 101.5 kB / 290.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.007572, allocations: 55.39 kB / 290.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007673, allocations: 126.2 kB / 290.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.007689, allocations: 33.7 kB / 290.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.007728, allocations: 92.11 kB / 290.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.007753, allocations: 19.75 kB / 290.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.007794, allocations: 25.7 kB / 290.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.007885, allocations: 318.8 kB / 290.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.007902, allocations: 4 kB / 290.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.007943, allocations: 55.47 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.007987, allocations: 28.83 kB / 290.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.007988, allocations: 0 / 290.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.416e-05/0.008072, allocations: 57.56 kB / 291 MB, free: 3.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.008087, allocations: 8 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.008092, allocations: 0 / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.008103, allocations: 0 / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.00819, allocations: 19.98 kB / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.008194, allocations: 0 / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.008227, allocations: 11.92 kB / 291 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.008233, allocations: 4.031 kB / 291 MB, free: 3.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 (7): * Single equations (assignments): 7 * 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 7.176e-05/0.008305, allocations: 116.7 kB / 291.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.008333, allocations: 7.938 kB / 291.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.00844, allocations: 66.03 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008442, allocations: 0 / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008444, allocations: 0 / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.008447, allocations: 4 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.0087, allocations: 222.7 kB / 291.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.008703, allocations: 4 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.008763, allocations: 19.98 kB / 291.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.008773, allocations: 7.953 kB / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008776, allocations: 0 / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.008782, allocations: 0 / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.008784, allocations: 0 / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008785, allocations: 0 / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.008889, allocations: 156.1 kB / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.008902, allocations: 4 kB / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.008963, allocations: 8 kB / 291.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.009004, allocations: 11.91 kB / 291.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.009009, allocations: 4 kB / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.009044, allocations: 28.84 kB / 291.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009044, allocations: 0 / 291.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.009268, allocations: 27.92 kB / 291.7 MB, free: 2.277 MB / 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 (7): * Single equations (assignments): 7 * 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.001757/0.01103, allocations: 0.6128 MB / 292.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01115, allocations: 40.83 kB / 292.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.01116, allocations: 0 / 292.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.0112, allocations: 20.86 kB / 292.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01145, allocations: 87.06 kB / 292.5 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.01198, allocations: 190.2 kB / 292.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.01202, allocations: 63.34 kB / 292.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.01208, allocations: 20.39 kB / 292.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.01216, allocations: 71.36 kB / 292.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01216, allocations: 0 / 292.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of Templates: time 0.004043/0.0162, allocations: 1.651 MB / 294.5 MB, free: 15.78 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.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.8262458443641663]