Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0017/0.0017, allocations: 84.31 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001603/0.001603, allocations: 167.2 kB / 23.95 MB, free: 4.16 MB / 14.72 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.515/1.515, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.671e-05/3.832e-05, allocations: 13.59 kB / 442.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003504/0.003542, allocations: 1.651 MB / 444.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.004775, allocations: 0.5647 MB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.004837, allocations: 0 / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.005556, allocations: 459.1 kB / 445.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.006079, allocations: 291.2 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.006556, allocations: 175.1 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.006828, allocations: 183.5 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.006935, allocations: 11.98 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.007097, allocations: 123.7 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.007386, allocations: 243.6 kB / 446.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.00741, allocations: 4 kB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.007508, allocations: 35.92 kB / 446.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.007624, allocations: 83.72 kB / 446.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.007683, allocations: 35.73 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.008051, allocations: 251 kB / 446.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.008055, allocations: 0 / 446.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008057, allocations: 0 / 446.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.008062, allocations: 4 kB / 446.8 MB, free: 1.27 MB / 366.1 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.0008239/0.008886, allocations: 0.5776 MB / 447.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.008927, allocations: 8.031 kB / 447.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.009007, allocations: 44.66 kB / 447.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.009358, allocations: 242 kB / 447.6 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.00937, allocations: 4.375 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.009392, allocations: 384 / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.009573, allocations: 58.19 kB / 447.7 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.009589, allocations: 192 / 447.7 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.009605, allocations: 4.125 kB / 447.7 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.009612, allocations: 7.984 kB / 447.7 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.009732, allocations: 35.92 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.2268, allocations: 325.8 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.2271, allocations: 52.67 kB / 448.1 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.2272, allocations: 13.27 kB / 448.1 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.2272, allocations: 3.531 kB / 448.1 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2272, allocations: 32.53 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.354e-06/0.2272, allocations: 0 / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007613/0.228, allocations: 240.4 kB / 448.4 MB, free: 19.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.228, allocations: 53.2 kB / 448.4 MB, free: 19.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/0.229, allocations: 0.8649 MB / 449.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.229, allocations: 30.8 kB / 449.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.2291, allocations: 219.5 kB / 449.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.2292, allocations: 19.09 kB / 449.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.2292, allocations: 15.2 kB / 449.6 MB, free: 18.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2293, allocations: 362.2 kB / 449.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.2294, allocations: 21.42 kB / 450 MB, free: 18.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.2295, allocations: 22.11 kB / 450 MB, free: 18.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2296, allocations: 52.73 kB / 450 MB, free: 18.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2296, allocations: 1.062 kB / 450 MB, free: 18.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002383/0.2299, allocations: 127.2 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2299, allocations: 5.938 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2299, allocations: 0 / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2299, allocations: 3.969 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.23, allocations: 14.05 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.23, allocations: 5.609 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.2301, allocations: 8.797 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2301, allocations: 1.672 kB / 450.2 MB, free: 18.23 MB / 366.1 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 0.0001703/0.2302, allocations: 214.2 kB / 450.4 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.2303, allocations: 46.69 kB / 450.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2306, allocations: 141 kB / 450.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2306, allocations: 2.141 kB / 450.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2306, allocations: 0 / 450.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2306, allocations: 4.641 kB / 450.6 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.2312, allocations: 411.8 kB / 451 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2312, allocations: 1.281 kB / 451 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.2313, allocations: 12.66 kB / 451 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2313, allocations: 1.859 kB / 451 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.2313, allocations: 5.344 kB / 451 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2313, allocations: 8.719 kB / 451 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2313, allocations: 2.703 kB / 451 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.2315, allocations: 217 kB / 451.2 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.2316, allocations: 34.33 kB / 451.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.2316, allocations: 5.938 kB / 451.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.2317, allocations: 7.766 kB / 451.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.2317, allocations: 5.266 kB / 451.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2317, allocations: 6.906 kB / 451.3 MB, free: 17.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006443/0.2324, allocations: 0.6493 MB / 452 MB, free: 17.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2324, allocations: 3.562 kB / 452 MB, free: 17.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.2327, allocations: 25.25 kB / 452 MB, free: 17.27 MB / 366.1 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.001585/0.2342, allocations: 438.9 kB / 452.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.2345, allocations: 50.52 kB / 452.5 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2345, allocations: 1.312 kB / 452.5 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.2346, allocations: 28.83 kB / 452.5 MB, free: 17.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.235, allocations: 31.41 kB / 452.5 MB, free: 17.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2361, allocations: 0.8155 MB / 453.3 MB, free: 16.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2364, allocations: 221.8 kB / 453.6 MB, free: 16.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.336e-05/0.2364, allocations: 16.05 kB / 453.6 MB, free: 16.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.2365, allocations: 14.44 kB / 453.6 MB, free: 16.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2365, allocations: 0 / 453.6 MB, free: 16.63 MB / 366.1 MB Notification: Performance of Templates: time 0.005295/0.2418, allocations: 1.351 MB / 454.9 MB, free: 16.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.94215976819396]