Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002042/0.002042, allocations: 112 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002485/0.002485, allocations: 205.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.673/2.673, allocations: 227.4 MB / 247.1 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4102/0.4102, allocations: 46.1 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003204/0.003204, allocations: 70.22 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2102, allocations: 62.45 MB / 480.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00603/0.2163, allocations: 1.67 MB / 481.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2184, allocations: 0.5534 MB / 482.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2186, allocations: 4 kB / 482.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.2196, allocations: 447.2 kB / 482.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009026/0.2206, allocations: 279.4 kB / 483.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.2216, allocations: 155.2 kB / 483.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00053/0.2221, allocations: 167.7 kB / 483.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2223, allocations: 19.92 kB / 483.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.2226, allocations: 107.8 kB / 483.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.223, allocations: 219.6 kB / 483.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.223, allocations: 4 kB / 483.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2232, allocations: 27.98 kB / 483.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.2233, allocations: 87.67 kB / 483.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2235, allocations: 99 kB / 484 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.2239, allocations: 179.8 kB / 484.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2239, allocations: 7.938 kB / 484.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2239, allocations: 0 / 484.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.224, allocations: 0 / 484.1 MB, free: 1.578 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001094/0.2251, allocations: 0.6339 MB / 484.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.2251, allocations: 12.03 kB / 484.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2253, allocations: 36.47 kB / 484.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.2257, allocations: 300.1 kB / 485.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2257, allocations: 4.312 kB / 485.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.2258, allocations: 4.375 kB / 485.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.226, allocations: 53.8 kB / 485.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.226, allocations: 0 / 485.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2261, allocations: 4 kB / 485.2 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2261, allocations: 0 / 485.2 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2262, allocations: 35.86 kB / 485.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.227, allocations: 388.7 kB / 485.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2272, allocations: 22.58 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.2273, allocations: 20.91 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2273, allocations: 7.938 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.2274, allocations: 34.55 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.2274, allocations: 0 / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004738/0.2279, allocations: 105.1 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.2279, allocations: 51.41 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.2295, allocations: 0.866 MB / 486.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2295, allocations: 25.7 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.2298, allocations: 232.2 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.2298, allocations: 3.906 kB / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.2299, allocations: 13.72 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.2301, allocations: 366.7 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.2302, allocations: 8 kB / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.2303, allocations: 15.92 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.2304, allocations: 32.91 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2304, allocations: 0 / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002317/0.2307, allocations: 85.22 kB / 487.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.2307, allocations: 7.984 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2307, allocations: 0 / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2307, allocations: 4 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2308, allocations: 4 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2309, allocations: 0 / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.231, allocations: 3.906 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.231, allocations: 8.031 kB / 487.5 MB, free: 14 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 (2): * Single equations (assignments): 2 * 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.0002972/0.2313, allocations: 225.6 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.2314, allocations: 35.53 kB / 487.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.2317, allocations: 108.7 kB / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2317, allocations: 7.938 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2317, allocations: 4 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2317, allocations: 0 / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.2323, allocations: 289.5 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2323, allocations: 0 / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.2323, allocations: 8 kB / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2324, allocations: 0 / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2324, allocations: 0 / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2324, allocations: 0 / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2324, allocations: 0 / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.2327, allocations: 202.8 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.2329, allocations: 108.5 kB / 488.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.233, allocations: 7.922 kB / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2331, allocations: 4 kB / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.2331, allocations: 0 / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.2331, allocations: 0 / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.2341, allocations: 0.6589 MB / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2341, allocations: 0 / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.2345, allocations: 16 kB / 489.1 MB, free: 12.25 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 (2): * Single equations (assignments): 2 * 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.001238/0.2358, allocations: 341.7 kB / 489.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.236, allocations: 27.92 kB / 489.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.236, allocations: 4 kB / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-05/0.2361, allocations: 19.98 kB / 489.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.2367, allocations: 32.91 kB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.2386, allocations: 0.8828 MB / 490.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.2394, allocations: 0.8182 MB / 491.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.2394, allocations: 15.44 kB / 491.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2395, allocations: 0 / 491.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01329/0.2528, allocations: 3.511 MB / 494.8 MB, free: 6.645 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches