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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002477/0.002477, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.434/2.434, allocations: 227.4 MB / 247.1 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3991/0.3991, allocations: 46.11 MB / 344.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 77 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1936, allocations: 62.43 MB / 480.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.005313/0.199, allocations: 1.71 MB / 481.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2007, allocations: 0.5456 MB / 482.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.2008, allocations: 0 / 482.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009129/0.2017, allocations: 455.1 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008736/0.2027, allocations: 275.5 kB / 483.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.2034, allocations: 119.3 kB / 483.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.2038, allocations: 175.6 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.204, allocations: 12 kB / 483.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2042, allocations: 107.8 kB / 483.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.2047, allocations: 219.6 kB / 483.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.2047, allocations: 8 kB / 483.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2049, allocations: 35.98 kB / 483.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.2051, allocations: 91.61 kB / 483.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2053, allocations: 99 kB / 484 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.2057, allocations: 187.8 kB / 484.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2057, allocations: 7.938 kB / 484.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2057, allocations: 0 / 484.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2058, allocations: 0 / 484.2 MB, free: 1.566 MB / 350.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.001112/0.2069, allocations: 0.6338 MB / 484.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.207, allocations: 8.031 kB / 484.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2071, allocations: 44.47 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.2075, allocations: 296.1 kB / 485.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2075, allocations: 8.375 kB / 485.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.2076, allocations: 384 / 485.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.2078, allocations: 65.72 kB / 485.2 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2078, allocations: 4 kB / 485.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.2078, allocations: 3.984 kB / 485.2 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2079, allocations: 0 / 485.2 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.208, allocations: 19.98 kB / 485.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.2088, allocations: 388.7 kB / 485.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.2092, allocations: 46.5 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.2093, allocations: 20.94 kB / 485.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.2093, allocations: 0 / 485.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2094, allocations: 34.56 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.2094, allocations: 0 / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001111/0.2105, allocations: 227.9 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.2106, allocations: 55.41 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.2121, allocations: 0.8614 MB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2122, allocations: 25.7 kB / 486.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.2124, allocations: 235.9 kB / 487.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.2125, allocations: 11.81 kB / 487.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.2126, allocations: 17.72 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.2128, allocations: 366.7 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2129, allocations: 15.98 kB / 487.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2131, allocations: 27.98 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.2133, allocations: 56.77 kB / 487.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2133, allocations: 0 / 487.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000371/0.2137, allocations: 113.1 kB / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2137, allocations: 6.344 kB / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2138, allocations: 0 / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2138, allocations: 0 / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2139, allocations: 15.98 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2139, allocations: 0 / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2141, allocations: 15.88 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2141, allocations: 0 / 487.7 MB, free: 13.75 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.0003276/0.2144, allocations: 217.7 kB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.2145, allocations: 39.53 kB / 488 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.215, allocations: 133.1 kB / 488.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.215, allocations: 4 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2151, allocations: 4 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2151, allocations: 3.938 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/0.216, allocations: 462.4 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2161, allocations: 0 / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.2162, allocations: 12.3 kB / 488.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2162, allocations: 0 / 488.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2162, allocations: 11.94 kB / 488.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2163, allocations: 0 / 488.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2163, allocations: 4 kB / 488.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.2168, allocations: 211 kB / 488.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.2169, allocations: 108.8 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.217, allocations: 3.938 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2172, allocations: 8 kB / 488.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.2172, allocations: 11.97 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.2173, allocations: 4 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.2184, allocations: 0.655 MB / 489.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2184, allocations: 0 / 489.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.2189, allocations: 19.98 kB / 489.6 MB, free: 11.76 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.001613/0.2205, allocations: 399.3 kB / 490 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.2209, allocations: 47.97 kB / 490.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.221, allocations: 4 kB / 490.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2211, allocations: 27.92 kB / 490.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.2219, allocations: 29.3 kB / 490.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.224, allocations: 0.8985 MB / 491 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.2246, allocations: 0.8221 MB / 491.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.2247, allocations: 15.42 kB / 491.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2247, allocations: 0 / 491.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of Templates: time 0.01337/0.2381, allocations: 3.713 MB / 495.6 MB, free: 5.887 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches