Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001972/0.001972, allocations: 209.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.488/2.488, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.6481/0.6481, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003204, allocations: 76.41 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2177, allocations: 62.45 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.005917/0.2237, allocations: 1.715 MB / 481.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.2269, allocations: 1.148 MB / 483 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.227, allocations: 4 kB / 483 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.2273, allocations: 15.92 kB / 483 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.2278, allocations: 79.75 kB / 483.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.2283, allocations: 119.3 kB / 483.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.2286, allocations: 75.78 kB / 483.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.2287, allocations: 12 kB / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.2288, allocations: 23.91 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.229, allocations: 39.78 kB / 483.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.2291, allocations: 7.984 kB / 483.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.2294, allocations: 95.89 kB / 483.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.2295, allocations: 19.97 kB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.2296, allocations: 31.8 kB / 483.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.23, allocations: 103.9 kB / 483.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.23, allocations: 0 / 483.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2301, allocations: 3.938 kB / 483.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2301, allocations: 0 / 483.6 MB, free: 2.105 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.0009636/0.231, allocations: 411.4 kB / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.2311, allocations: 15.97 kB / 484.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.2312, allocations: 8.844 kB / 484.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.2316, allocations: 191.2 kB / 484.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2316, allocations: 4.375 kB / 484.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.2317, allocations: 4.375 kB / 484.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.232, allocations: 75.5 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.232, allocations: 3.984 kB / 484.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.232, allocations: 4 kB / 484.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2321, allocations: 4 kB / 484.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.2323, allocations: 39.91 kB / 484.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.233, allocations: 292.7 kB / 484.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2332, allocations: 46.56 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2334, allocations: 20.94 kB / 484.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.2335, allocations: 12.06 kB / 484.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.2335, allocations: 34.5 kB / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.2336, allocations: 0 / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.005559/0.2391, allocations: 221.1 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.2392, allocations: 81.05 kB / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.2396, allocations: 148.3 kB / 485.2 MB, free: 332 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2396, allocations: 25.7 kB / 485.2 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.2397, allocations: 96.12 kB / 485.3 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.2398, allocations: 19.66 kB / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.2399, allocations: 25.7 kB / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2401, allocations: 314.8 kB / 485.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.2403, allocations: 35.98 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.2405, allocations: 45.67 kB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.241, allocations: 72.81 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.241, allocations: 32 / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005482/0.2416, allocations: 125.5 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2416, allocations: 4 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2416, allocations: 0 / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2417, allocations: 0 / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.2419, allocations: 19.98 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2419, allocations: 3.984 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2421, allocations: 11.94 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.2421, allocations: 4 kB / 486 MB, free: 15.5 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 (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 0.0001601/0.2423, allocations: 117.8 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.2424, allocations: 7.906 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.243, allocations: 126.3 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.243, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2431, allocations: 4 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2431, allocations: 3.938 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2442, allocations: 386.9 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2442, allocations: 0 / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2444, allocations: 27.91 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.2444, allocations: 0 / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2444, allocations: 15.94 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2445, allocations: 0 / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2445, allocations: 80 / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.2451, allocations: 203.4 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.2452, allocations: 85.02 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.2453, allocations: 11.92 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.2455, allocations: 11.94 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.2456, allocations: 7.984 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2456, allocations: 4 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2458, allocations: 117.3 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2459, allocations: 0 / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005828/0.2464, allocations: 32 kB / 487.1 MB, free: 14.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 (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.002314/0.2488, allocations: 0.4925 MB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.2494, allocations: 83.94 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2495, allocations: 0 / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.2497, allocations: 43.91 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.2505, allocations: 19.89 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.2515, allocations: 244 kB / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.252, allocations: 0.6903 MB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.2521, allocations: 23.42 kB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2521, allocations: 4 kB / 488.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01166/0.2638, allocations: 2.084 MB / 490.8 MB, free: 10.68 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches