Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001849/0.001849, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002191/0.002191, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.482e-05, allocations: 2.281 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003304/0.003339, allocations: 1.648 MB / 444.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.004439, allocations: 0.5331 MB / 444.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.004494, allocations: 4 kB / 444.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.005134, allocations: 455 kB / 445.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.005673, allocations: 295.2 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.006047, allocations: 127.1 kB / 445.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.006337, allocations: 167.7 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.006447, allocations: 11.86 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.00664, allocations: 127.7 kB / 446 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.006977, allocations: 247.6 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.007003, allocations: 0 / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.007112, allocations: 35.92 kB / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.007247, allocations: 83.66 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.007315, allocations: 35.75 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.007689, allocations: 235.1 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.007694, allocations: 0 / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.007696, allocations: 11.94 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.007703, allocations: 0 / 446.7 MB, free: 1.289 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.0008857/0.008589, allocations: 0.5814 MB / 447.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.008629, allocations: 8.031 kB / 447.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.583e-05/0.008715, allocations: 44.66 kB / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.009037, allocations: 234 kB / 447.5 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.009053, allocations: 4.375 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.009079, allocations: 384 / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.009252, allocations: 58.22 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.009267, allocations: 4.172 kB / 447.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.009279, allocations: 8.375 kB / 447.6 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.009286, allocations: 4.312 kB / 447.6 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.009394, allocations: 31.84 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1959/0.2052, allocations: 323.7 kB / 447.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2056, allocations: 41.64 kB / 448 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.2056, allocations: 17.09 kB / 448 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.2056, allocations: 1.188 kB / 448 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2057, allocations: 38.33 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.585e-06/0.2057, allocations: 0 / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007004/0.2064, allocations: 234.7 kB / 448.3 MB, free: 19.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.2064, allocations: 53.11 kB / 448.3 MB, free: 19.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/0.2073, allocations: 0.8597 MB / 449.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2073, allocations: 25.7 kB / 449.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.2074, allocations: 216.3 kB / 449.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.2074, allocations: 18.67 kB / 449.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.2075, allocations: 19.5 kB / 449.5 MB, free: 18.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.2076, allocations: 357.1 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.2077, allocations: 19.28 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.2077, allocations: 25.75 kB / 449.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2079, allocations: 43.53 kB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2079, allocations: 1 kB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002033/0.2081, allocations: 120.9 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2081, allocations: 11.8 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2081, allocations: 0 / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2081, allocations: 1.375 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.2082, allocations: 14.23 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2082, allocations: 5.656 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.2083, allocations: 4.562 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2083, allocations: 2.188 kB / 450 MB, free: 18.2 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.0001726/0.2084, allocations: 211.3 kB / 450.3 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2086, allocations: 43.2 kB / 450.3 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.2088, allocations: 136.4 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2088, allocations: 3.125 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2089, allocations: 3.906 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2089, allocations: 4.641 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.2094, allocations: 402.7 kB / 450.8 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2094, allocations: 0 / 450.8 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.2094, allocations: 16.14 kB / 450.8 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2094, allocations: 1.578 kB / 450.8 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2094, allocations: 1.438 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2095, allocations: 3.938 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2095, allocations: 2.609 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.2097, allocations: 219.5 kB / 451.1 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.2097, allocations: 33.91 kB / 451.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.2097, allocations: 2.141 kB / 451.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2098, allocations: 11.64 kB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2099, allocations: 6.703 kB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.2099, allocations: 2.828 kB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006263/0.2105, allocations: 0.6472 MB / 451.8 MB, free: 17.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2105, allocations: 5.156 kB / 451.8 MB, free: 17.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000281/0.2108, allocations: 24.59 kB / 451.8 MB, free: 17.24 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.001626/0.2124, allocations: 414.8 kB / 452.2 MB, free: 17.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2126, allocations: 44.55 kB / 452.3 MB, free: 17.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2126, allocations: 7.938 kB / 452.3 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.2127, allocations: 23.53 kB / 452.3 MB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2131, allocations: 30.2 kB / 452.3 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2142, allocations: 0.7928 MB / 453.1 MB, free: 16.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.2145, allocations: 219.1 kB / 453.3 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.984e-05/0.2145, allocations: 12.59 kB / 453.3 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.2146, allocations: 12.92 kB / 453.3 MB, free: 16.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2146, allocations: 0 / 453.3 MB, free: 16.6 MB / 366.1 MB Notification: Performance of Templates: time 0.00579/0.2203, allocations: 1.34 MB / 454.7 MB, free: 16.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: 5.0030065551400185]