Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002309/0.002309, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.628/2.628, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.381/0.381, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003021/0.003021, allocations: 78.88 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2248, allocations: 62.44 MB / 480.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.00591/0.2308, allocations: 1.743 MB / 481.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.2328, allocations: 0.5494 MB / 482.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.2329, allocations: 0 / 482.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.2334, allocations: 59.84 kB / 482.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.234, allocations: 103.7 kB / 482.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.2346, allocations: 115.4 kB / 482.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.235, allocations: 87.75 kB / 482.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.2352, allocations: 20.22 kB / 482.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.2354, allocations: 39.84 kB / 482.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.2356, allocations: 51.83 kB / 482.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.2357, allocations: 4 kB / 482.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.2359, allocations: 55.91 kB / 483 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2361, allocations: 27.91 kB / 483 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.2362, allocations: 31.75 kB / 483 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.2365, allocations: 87.81 kB / 483.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2365, allocations: 0 / 483.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2365, allocations: 0 / 483.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.2366, allocations: 4 kB / 483.1 MB, free: 2.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009365/0.2375, allocations: 427.2 kB / 483.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.2376, allocations: 8.031 kB / 483.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.2377, allocations: 8.844 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.238, allocations: 202.7 kB / 483.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2381, allocations: 12.31 kB / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.2381, allocations: 4.281 kB / 483.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/0.2426, allocations: 73.72 kB / 483.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.2427, allocations: 4 kB / 483.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.2427, allocations: 0 / 483.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2427, allocations: 0 / 483.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.243, allocations: 39.97 kB / 483.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/0.2438, allocations: 304.8 kB / 484.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.2442, allocations: 58.55 kB / 484.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.2444, allocations: 24.97 kB / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.2444, allocations: 8.031 kB / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.2445, allocations: 30.56 kB / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.655e-06/0.2445, allocations: 0 / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002644/0.2471, allocations: 413 kB / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.2472, allocations: 55.34 kB / 484.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.2476, allocations: 210.8 kB / 485 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2477, allocations: 25.7 kB / 485 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2478, allocations: 108 kB / 485.1 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.2479, allocations: 35.47 kB / 485.1 MB, free: 464 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/0.248, allocations: 29.7 kB / 485.2 MB, free: 428 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2482, allocations: 322.8 kB / 485.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2484, allocations: 39.97 kB / 485.5 MB, free: 56 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2486, allocations: 43.97 kB / 485.6 MB, free: 12 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.2491, allocations: 108.7 kB / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2492, allocations: 0 / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006254/0.2498, allocations: 137.5 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.2499, allocations: 8 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2499, allocations: 3.984 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2499, allocations: 0 / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.2502, allocations: 35.91 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.2502, allocations: 0 / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2504, allocations: 15.92 kB / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2504, allocations: 4 kB / 485.9 MB, free: 15.7 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 (11): * Single equations (assignments): 11 * 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.0001802/0.2506, allocations: 121.8 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.2507, allocations: 15.81 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.2514, allocations: 174.9 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.2515, allocations: 7.922 kB / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.2515, allocations: 0 / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.2515, allocations: 4 kB / 486.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.2528, allocations: 483.8 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2528, allocations: 3.984 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.253, allocations: 28.11 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.253, allocations: 4 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2531, allocations: 4 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2531, allocations: 0 / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2531, allocations: 4 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.2538, allocations: 257 kB / 486.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.2539, allocations: 88.92 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.254, allocations: 4 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004242/0.2582, allocations: 11.98 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2584, allocations: 11.98 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.2585, allocations: 4 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.2588, allocations: 168.7 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.51e-07/0.2588, allocations: 0 / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005574/0.2594, allocations: 27.98 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002116/0.2615, allocations: 444.7 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.2622, allocations: 111.8 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2623, allocations: 0 / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.2626, allocations: 67.89 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.2633, allocations: 23.3 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2644, allocations: 358.4 kB / 488.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.2649, allocations: 0.7119 MB / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.265, allocations: 19.42 kB / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.001e-06/0.2651, allocations: 0 / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.007117/0.2722, allocations: 1.973 MB / 490.9 MB, free: 10.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches