Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 200.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 226.6 MB / 243.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007738/0.0007736, allocations: 92.33 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3147/0.3147, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002916, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3334, allocations: 62.96 MB / 0.5159 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.00184/0.3352, allocations: 1.591 MB / 0.5174 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3366, allocations: 0.9953 MB / 0.5184 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.3367, allocations: 3.938 kB / 0.5184 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.337, allocations: 258.4 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3374, allocations: 224.1 kB / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.3384, allocations: 0.5899 MB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.3387, allocations: 267.2 kB / 0.5197 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3388, allocations: 63.25 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.339, allocations: 118.4 kB / 0.5199 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3391, allocations: 166.8 kB / 0.52 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3392, allocations: 2.875 kB / 0.52 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.3393, allocations: 35.38 kB / 0.5201 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.3394, allocations: 88.55 kB / 0.5202 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.3394, allocations: 114.2 kB / 0.5203 GB, free: 34.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3396, allocations: 225.2 kB / 0.5205 GB, free: 34.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3396, allocations: 0 / 0.5205 GB, free: 34.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3397, allocations: 0 / 0.5205 GB, free: 34.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3397, allocations: 0 / 0.5205 GB, free: 34.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005221/0.3402, allocations: 0.5802 MB / 0.521 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3402, allocations: 8.938 kB / 0.5211 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.3403, allocations: 42.16 kB / 0.5211 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.3406, allocations: 323.4 kB / 0.5214 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3406, allocations: 7.359 kB / 0.5214 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3406, allocations: 10.28 kB / 0.5214 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3408, allocations: 102.9 kB / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3408, allocations: 0 / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3408, allocations: 4 kB / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3408, allocations: 2.906 kB / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.341, allocations: 70.22 kB / 0.5216 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.3415, allocations: 463.5 kB / 0.522 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3416, allocations: 76.75 kB / 0.5221 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.3417, allocations: 33.62 kB / 0.5221 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3417, allocations: 6.234 kB / 0.5221 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.3418, allocations: 30.56 kB / 0.5222 GB, free: 32.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3418, allocations: 0 / 0.5222 GB, free: 32.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003096/0.3421, allocations: 164.6 kB / 0.5223 GB, free: 32.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.3421, allocations: 55.34 kB / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.3426, allocations: 0.5698 MB / 0.5229 GB, free: 32.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.3426, allocations: 25.7 kB / 0.523 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.3427, allocations: 201.6 kB / 0.5232 GB, free: 32.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.3427, allocations: 18.42 kB / 0.5232 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.3427, allocations: 4 kB / 0.5232 GB, free: 32.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.3428, allocations: 352.4 kB / 0.5235 GB, free: 32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3429, allocations: 29.64 kB / 0.5235 GB, free: 31.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.3429, allocations: 32.47 kB / 0.5236 GB, free: 31.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3431, allocations: 62.7 kB / 0.5236 GB, free: 31.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3431, allocations: 0 / 0.5236 GB, free: 31.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001754/0.3432, allocations: 141.6 kB / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3433, allocations: 9.312 kB / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3433, allocations: 0 / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3433, allocations: 448 / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.3434, allocations: 17.95 kB / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3434, allocations: 0 / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.3435, allocations: 17.5 kB / 0.5238 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3435, allocations: 4 kB / 0.5238 GB, free: 31.86 MB / 378.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.3436, allocations: 172.7 kB / 0.524 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.3437, allocations: 35.31 kB / 0.524 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.3439, allocations: 155.3 kB / 0.5242 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3439, allocations: 3.938 kB / 0.5242 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3439, allocations: 2.781 kB / 0.5242 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3439, allocations: 4 kB / 0.5242 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.3442, allocations: 296.2 kB / 0.5245 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3442, allocations: 0 / 0.5245 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.3443, allocations: 11.84 kB / 0.5245 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3443, allocations: 0 / 0.5245 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3443, allocations: 6.328 kB / 0.5245 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3443, allocations: 3.938 kB / 0.5245 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3443, allocations: 0 / 0.5245 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.3445, allocations: 230.2 kB / 0.5247 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.3446, allocations: 121.6 kB / 0.5248 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3446, allocations: 2.281 kB / 0.5248 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.3447, allocations: 9.812 kB / 0.5248 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3447, allocations: 2.312 kB / 0.5248 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3447, allocations: 2.594 kB / 0.5248 GB, free: 31.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003425/0.3451, allocations: 427.3 kB / 0.5252 GB, free: 30.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3451, allocations: 6.781 kB / 0.5252 GB, free: 30.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.3454, allocations: 30.97 kB / 0.5253 GB, free: 30.91 MB / 378.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.3466, allocations: 0.5916 MB / 0.5258 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3467, allocations: 66.27 kB / 0.5259 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3468, allocations: 0 / 0.5259 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.3468, allocations: 41.25 kB / 0.5259 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.3473, allocations: 60.72 kB / 0.526 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.3482, allocations: 0.6933 MB / 0.5267 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3484, allocations: 0.8033 MB / 0.5275 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.3485, allocations: 24.09 kB / 0.5275 GB, free: 29.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3485, allocations: 0 / 0.5275 GB, free: 29.45 MB / 378.7 MB Notification: Performance of Templates: time 0.005278/0.3538, allocations: 3.937 MB / 0.5313 GB, free: 28.92 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches