Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00073/0.00073, allocations: 101.3 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.313/0.313, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 11.98 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3624, allocations: 62.96 MB / 0.516 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001683/0.3641, allocations: 1.37 MB / 0.5173 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006869/0.3648, allocations: 0.4946 MB / 0.5178 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.3649, allocations: 2.969 kB / 0.5178 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.3651, allocations: 67.16 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.3653, allocations: 89.61 kB / 0.5179 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.3656, allocations: 116.4 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3657, allocations: 77.73 kB / 0.5181 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3659, allocations: 14.92 kB / 0.5181 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.3659, allocations: 36.73 kB / 0.5182 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.366, allocations: 45.27 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.366, allocations: 3.031 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.3661, allocations: 44.8 kB / 0.5183 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.3662, allocations: 27 kB / 0.5183 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3662, allocations: 58.38 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3664, allocations: 86.7 kB / 0.5184 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3664, allocations: 0 / 0.5184 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3664, allocations: 0 / 0.5184 GB, free: 35.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3664, allocations: 0 / 0.5184 GB, free: 35.78 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004466/0.3668, allocations: 424.5 kB / 0.5188 GB, free: 35.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3669, allocations: 8.125 kB / 0.5188 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.3669, allocations: 33.62 kB / 0.5189 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.367, allocations: 10.59 kB / 0.5189 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3671, allocations: 211 kB / 0.5191 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3671, allocations: 3.344 kB / 0.5191 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3672, allocations: 3.188 kB / 0.5191 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3673, allocations: 71.7 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3674, allocations: 0 / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3674, allocations: 6.969 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3674, allocations: 3.281 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3675, allocations: 40.11 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3679, allocations: 321.7 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3681, allocations: 56.27 kB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.3682, allocations: 34.98 kB / 0.5196 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3682, allocations: 0 / 0.5196 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.3683, allocations: 37.5 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3683, allocations: 0 / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001366/0.3696, allocations: 475 kB / 0.5201 GB, free: 34.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.3697, allocations: 51.41 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3698, allocations: 225 kB / 0.5203 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.3699, allocations: 28.39 kB / 0.5204 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.3699, allocations: 109.4 kB / 0.5205 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.3699, allocations: 34.39 kB / 0.5205 GB, free: 34.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.37, allocations: 6.625 kB / 0.5205 GB, free: 34.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.37, allocations: 321.4 kB / 0.5208 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3701, allocations: 53.16 kB / 0.5209 GB, free: 33.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3702, allocations: 55.77 kB / 0.5209 GB, free: 33.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.3705, allocations: 117.4 kB / 0.521 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3705, allocations: 0 / 0.521 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002712/0.3708, allocations: 163.8 kB / 0.5212 GB, free: 33.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3708, allocations: 2.75 kB / 0.5212 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3708, allocations: 3.125 kB / 0.5212 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.3708, allocations: 7.922 kB / 0.5212 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3709, allocations: 25.59 kB / 0.5212 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.3709, allocations: 6.484 kB / 0.5212 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.371, allocations: 16.88 kB / 0.5213 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.371, allocations: 6.219 kB / 0.5213 GB, free: 33.68 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 (11): * Single equations (assignments): 11 * 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 7.263e-05/0.3711, allocations: 129.2 kB / 0.5214 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3711, allocations: 16.5 kB / 0.5214 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.3715, allocations: 185.7 kB / 0.5216 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3715, allocations: 3.938 kB / 0.5216 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3715, allocations: 0.5625 kB / 0.5216 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3715, allocations: 3 kB / 0.5216 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.372, allocations: 499 kB / 0.5221 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.372, allocations: 0 / 0.5221 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.3721, allocations: 42.66 kB / 0.5221 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3722, allocations: 0 / 0.5221 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3722, allocations: 2.969 kB / 0.5221 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3722, allocations: 3.984 kB / 0.5221 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3722, allocations: 3.062 kB / 0.5221 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3725, allocations: 273.2 kB / 0.5224 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.3725, allocations: 93.78 kB / 0.5225 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.3725, allocations: 0 / 0.5225 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.3726, allocations: 18.11 kB / 0.5225 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3727, allocations: 13.77 kB / 0.5225 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.3727, allocations: 6.406 kB / 0.5225 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3728, allocations: 164.4 kB / 0.5227 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3728, allocations: 4 kB / 0.5227 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.3731, allocations: 23.56 kB / 0.5227 GB, free: 32.65 MB / 378.7 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 (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.00134/0.3744, allocations: 1.142 MB / 0.5238 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.3747, allocations: 131.2 kB / 0.5239 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3748, allocations: 0 / 0.5239 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3749, allocations: 70.56 kB / 0.524 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3752, allocations: 21.92 kB / 0.524 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3765, allocations: 0.9498 MB / 0.5249 GB, free: 31.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.3767, allocations: 0.718 MB / 0.5256 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.3768, allocations: 38.97 kB / 0.5257 GB, free: 30.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3768, allocations: 0 / 0.5257 GB, free: 30.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/3.142, allocations: 2.439 MB / 0.5281 GB, free: 30.15 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches