Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001694, allocations: 112 kB / 17.98 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002185/0.002185, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.361/2.361, allocations: 227.4 MB / 247.1 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5034/0.5034, allocations: 46.1 MB / 344.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003037/0.003037, allocations: 73.31 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2111, allocations: 62.46 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.006246/0.2174, allocations: 1.699 MB / 481.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2191, allocations: 0.6644 MB / 482.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.2192, allocations: 4 kB / 482.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.2196, allocations: 23.92 kB / 482.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.22, allocations: 43.81 kB / 482.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.162e-06/0.22, allocations: 0 / 482.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.2203, allocations: 27.86 kB / 482.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.2204, allocations: 11.98 kB / 482.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.2204, allocations: 11.92 kB / 482.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2205, allocations: 19.92 kB / 482.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2206, allocations: 4 kB / 482.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.682e-05/0.2207, allocations: 8 kB / 482.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.2208, allocations: 27.91 kB / 482.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.2208, allocations: 15.88 kB / 482.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.221, allocations: 52.16 kB / 482.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.221, allocations: 0 / 482.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2211, allocations: 0 / 482.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.2211, allocations: 7.938 kB / 482.8 MB, free: 2.938 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006292/0.2217, allocations: 371.3 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.2218, allocations: 8.031 kB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.2219, allocations: 8.844 kB / 483.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2221, allocations: 180.1 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2222, allocations: 4.375 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2222, allocations: 384 / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.2225, allocations: 127.3 kB / 483.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2226, allocations: 192 / 483.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2226, allocations: 7.938 kB / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/0.2227, allocations: 19.98 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.2228, allocations: 47.84 kB / 483.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.224, allocations: 0.8868 MB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2242, allocations: 169.2 kB / 484.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.2243, allocations: 88.14 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.2243, allocations: 79.22 kB / 484.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.376e-05/0.2244, allocations: 113.8 kB / 484.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.2244, allocations: 0 / 484.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001261/0.2246, allocations: 33.61 kB / 484.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.2247, allocations: 130.6 kB / 485 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.225, allocations: 194 kB / 485.2 MB, free: 272 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.225, allocations: 25.7 kB / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.2252, allocations: 147.1 kB / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.2252, allocations: 4 kB / 485.4 MB, free: 84 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.2253, allocations: 41.61 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.2256, allocations: 322.8 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.2257, allocations: 31.98 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.2259, allocations: 153.1 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.2263, allocations: 204.8 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.2263, allocations: 4 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005574/0.2269, allocations: 205 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.227, allocations: 4 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.227, allocations: 8 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.227, allocations: 4 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.2272, allocations: 36.55 kB / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.2273, allocations: 15.92 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.2275, allocations: 27.78 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.2275, allocations: 8 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002042/0.2277, allocations: 213 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2278, allocations: 120.7 kB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.938e-05/0.2279, allocations: 120.8 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001108/0.2281, allocations: 184.2 kB / 487.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001124/0.2282, allocations: 184.2 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.894e-05/0.2283, allocations: 180.3 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.2288, allocations: 421.2 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.891e-05/0.2288, allocations: 108.9 kB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.2289, allocations: 101 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.2291, allocations: 192.2 kB / 488.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.2292, allocations: 180.3 kB / 488.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001116/0.2293, allocations: 176.3 kB / 488.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000116/0.2294, allocations: 180.2 kB / 488.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.2297, allocations: 319.7 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2299, allocations: 185.9 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.23, allocations: 180.3 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2302, allocations: 104.9 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.2303, allocations: 180.2 kB / 489.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.2304, allocations: 112.9 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.2306, allocations: 131.2 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2306, allocations: 0 / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.2312, allocations: 16 kB / 489.9 MB, free: 11.16 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 (0): * Single equations (assignments): 0 * 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.0009109/0.2321, allocations: 277.9 kB / 490.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.2325, allocations: 76.91 kB / 490.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2325, allocations: 4.125 kB / 490.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.2325, allocations: 0 / 490.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.2332, allocations: 463.6 kB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.2339, allocations: 302.9 kB / 491 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.2344, allocations: 0.6967 MB / 491.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.2346, allocations: 19.42 kB / 491.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2346, allocations: 0 / 491.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of Templates: time 0.005129/0.2397, allocations: 1.291 MB / 493 MB, free: 8.023 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches