Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000988/0.0009877, allocations: 196.8 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 226.5 MB / 243.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007994/0.0007995, allocations: 97.33 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2978/0.2978, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 62.96 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001383/0.2903, allocations: 1.365 MB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005977/0.2909, allocations: 0.5019 MB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.2909, allocations: 2.812 kB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.2911, allocations: 60.78 kB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.2913, allocations: 85.56 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2916, allocations: 122.4 kB / 0.518 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2917, allocations: 70.59 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.2918, allocations: 25.39 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.2918, allocations: 32.56 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.2919, allocations: 39.88 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2919, allocations: 2.906 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.899e-05/0.292, allocations: 47.72 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.2921, allocations: 15.86 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.2921, allocations: 58.66 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.2922, allocations: 92.75 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2922, allocations: 0 / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2923, allocations: 0 / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.2923, allocations: 0 / 0.5184 GB, free: 35.57 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.0004153/0.2927, allocations: 419 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2927, allocations: 8.375 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.2928, allocations: 38.19 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.2928, allocations: 12.77 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.293, allocations: 211.3 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.293, allocations: 7.281 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.293, allocations: 11.28 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.2932, allocations: 72.73 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2932, allocations: 4 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.2932, allocations: 0 / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2932, allocations: 3 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2933, allocations: 43.53 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.2936, allocations: 310.7 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.2938, allocations: 58 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.2939, allocations: 32.33 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2939, allocations: 0 / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.2939, allocations: 38.59 kB / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.294, allocations: 0 / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001303/0.2953, allocations: 482.3 kB / 0.5201 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.2953, allocations: 58.28 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.2954, allocations: 218.7 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2955, allocations: 29.7 kB / 0.5204 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.2955, allocations: 111.1 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.2955, allocations: 33.5 kB / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.2955, allocations: 0 / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.2956, allocations: 327.5 kB / 0.5208 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2957, allocations: 48.8 kB / 0.5209 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2958, allocations: 49.56 kB / 0.5209 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.296, allocations: 119.8 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.296, allocations: 0 / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002744/0.2963, allocations: 164.5 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2963, allocations: 2.625 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2964, allocations: 3.062 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2964, allocations: 3.938 kB / 0.5212 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2965, allocations: 34.23 kB / 0.5212 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2965, allocations: 0 / 0.5212 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.2966, allocations: 19.22 kB / 0.5212 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2966, allocations: 3.031 kB / 0.5213 GB, free: 33.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 (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 6.433e-05/0.2966, allocations: 130.7 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.2967, allocations: 13.53 kB / 0.5214 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.297, allocations: 182.8 kB / 0.5216 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.297, allocations: 10.88 kB / 0.5216 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.297, allocations: 0 / 0.5216 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.297, allocations: 4 kB / 0.5216 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.2975, allocations: 497.9 kB / 0.5221 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2976, allocations: 0 / 0.5221 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.2977, allocations: 36.64 kB / 0.5221 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2977, allocations: 0 / 0.5221 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2977, allocations: 2.844 kB / 0.5221 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2977, allocations: 0 / 0.5221 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2977, allocations: 2.906 kB / 0.5221 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.298, allocations: 276.6 kB / 0.5224 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.298, allocations: 95.09 kB / 0.5224 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.298, allocations: 2.969 kB / 0.5225 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.2981, allocations: 15.09 kB / 0.5225 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.2982, allocations: 14.41 kB / 0.5225 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.2982, allocations: 3 kB / 0.5225 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.536e-05/0.2983, allocations: 162 kB / 0.5226 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2983, allocations: 4 kB / 0.5226 GB, free: 32.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000234/0.2985, allocations: 29.33 kB / 0.5227 GB, free: 32.44 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.001154/0.2997, allocations: 1.153 MB / 0.5238 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3, allocations: 125.8 kB / 0.5239 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3, allocations: 0 / 0.5239 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3001, allocations: 63.47 kB / 0.524 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.3005, allocations: 26.55 kB / 0.524 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3016, allocations: 0.9501 MB / 0.5249 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3018, allocations: 0.7139 MB / 0.5256 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.3018, allocations: 36.8 kB / 0.5257 GB, free: 30.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3018, allocations: 0 / 0.5257 GB, free: 30.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.799/3.101, allocations: 2.444 MB / 0.528 GB, free: 29.94 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches