Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 193.9 kB / 16.09 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007375/0.0007376, allocations: 107.4 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3403/0.3403, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 19.97 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3503, allocations: 62.95 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002035/0.3524, allocations: 1.586 MB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3538, allocations: 0.9046 MB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.3539, allocations: 3 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.3544, allocations: 239.3 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.3547, allocations: 227.8 kB / 0.5188 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.3556, allocations: 439.6 kB / 0.5192 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.3558, allocations: 246.1 kB / 0.5194 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.356, allocations: 41.38 kB / 0.5195 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3561, allocations: 112.8 kB / 0.5196 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.3563, allocations: 161.5 kB / 0.5197 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3563, allocations: 5.469 kB / 0.5197 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3565, allocations: 38.7 kB / 0.5198 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3566, allocations: 84.31 kB / 0.5198 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.336e-05/0.3566, allocations: 118.1 kB / 0.5199 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.3569, allocations: 201.7 kB / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3569, allocations: 0 / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3569, allocations: 0 / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.3569, allocations: 4 kB / 0.5201 GB, free: 34.82 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.0005443/0.3575, allocations: 0.5744 MB / 0.5207 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3575, allocations: 11.16 kB / 0.5207 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.3576, allocations: 41.59 kB / 0.5208 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3579, allocations: 307.6 kB / 0.521 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3579, allocations: 11.06 kB / 0.5211 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3579, allocations: 3.25 kB / 0.5211 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3581, allocations: 92.05 kB / 0.5211 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3581, allocations: 0 / 0.5211 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3581, allocations: 7.938 kB / 0.5212 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3581, allocations: 2.938 kB / 0.5212 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.3583, allocations: 53.3 kB / 0.5212 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.3587, allocations: 437 kB / 0.5216 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3589, allocations: 56.7 kB / 0.5217 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.3589, allocations: 26.83 kB / 0.5217 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.359, allocations: 2.844 kB / 0.5217 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.359, allocations: 38.56 kB / 0.5217 GB, free: 33.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.359, allocations: 0 / 0.5217 GB, free: 33.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003145/0.3593, allocations: 135.7 kB / 0.5219 GB, free: 33.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.3593, allocations: 55.34 kB / 0.5219 GB, free: 33.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.3599, allocations: 0.5623 MB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3599, allocations: 25.7 kB / 0.5225 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.36, allocations: 199.4 kB / 0.5227 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.36, allocations: 22.08 kB / 0.5227 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.36, allocations: 4 kB / 0.5227 GB, free: 32.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.3601, allocations: 347.6 kB / 0.523 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.3602, allocations: 22.62 kB / 0.5231 GB, free: 32.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.369e-05/0.3602, allocations: 18.95 kB / 0.5231 GB, free: 32.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/0.3603, allocations: 52.95 kB / 0.5231 GB, free: 32.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3603, allocations: 0 / 0.5231 GB, free: 32.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001603/0.3605, allocations: 118.8 kB / 0.5233 GB, free: 32.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3605, allocations: 5.469 kB / 0.5233 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3605, allocations: 0 / 0.5233 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3606, allocations: 0 / 0.5233 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.3607, allocations: 18.11 kB / 0.5233 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3607, allocations: 0 / 0.5233 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.3608, allocations: 17.56 kB / 0.5233 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3608, allocations: 0 / 0.5233 GB, free: 32.46 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.0001133/0.3609, allocations: 168.9 kB / 0.5235 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3609, allocations: 36.91 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.3612, allocations: 138.9 kB / 0.5236 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3612, allocations: 7.938 kB / 0.5236 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3612, allocations: 0 / 0.5236 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3612, allocations: 3.031 kB / 0.5236 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.3614, allocations: 282.8 kB / 0.5239 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3615, allocations: 0 / 0.5239 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.3615, allocations: 16.98 kB / 0.5239 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3615, allocations: 6.906 kB / 0.5239 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3615, allocations: 0 / 0.5239 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3615, allocations: 3.938 kB / 0.5239 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3616, allocations: 3.984 kB / 0.5239 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3617, allocations: 216.8 kB / 0.5241 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.3618, allocations: 115.1 kB / 0.5242 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3618, allocations: 2.375 kB / 0.5242 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.3619, allocations: 13.69 kB / 0.5243 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.362, allocations: 2.562 kB / 0.5243 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.362, allocations: 3 kB / 0.5243 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003512/0.3623, allocations: 426.4 kB / 0.5247 GB, free: 31.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3623, allocations: 0 / 0.5247 GB, free: 31.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.3626, allocations: 34.69 kB / 0.5247 GB, free: 31.5 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.00126/0.3639, allocations: 0.5852 MB / 0.5253 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.364, allocations: 58.42 kB / 0.5253 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.364, allocations: 4 kB / 0.5253 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.3641, allocations: 24.95 kB / 0.5254 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.3646, allocations: 66.2 kB / 0.5254 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/0.3654, allocations: 0.6505 MB / 0.5261 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3657, allocations: 0.7872 MB / 0.5268 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.3657, allocations: 23.75 kB / 0.5269 GB, free: 30.07 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3657, allocations: 2.656 kB / 0.5269 GB, free: 30.07 MB / 378.7 MB Notification: Performance of Templates: time 0.005842/0.3716, allocations: 3.726 MB / 0.5305 GB, free: 29.55 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches