Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 197.4 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008223, allocations: 99.78 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3293/0.3293, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002679, allocations: 11.98 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.276, allocations: 62.96 MB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001466/0.2775, allocations: 1.344 MB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006067/0.2781, allocations: 0.5139 MB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.2782, allocations: 0 / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.2785, allocations: 446.7 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.2788, allocations: 265 kB / 0.5185 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.2791, allocations: 115.7 kB / 0.5186 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.2792, allocations: 134.7 kB / 0.5187 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.997e-05/0.2793, allocations: 21.06 kB / 0.5187 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.2794, allocations: 105.8 kB / 0.5188 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2795, allocations: 170.2 kB / 0.519 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2795, allocations: 0 / 0.519 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.41e-05/0.2796, allocations: 31.66 kB / 0.519 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.2797, allocations: 80.83 kB / 0.5191 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.2798, allocations: 117.7 kB / 0.5192 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.2799, allocations: 189.7 kB / 0.5194 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2799, allocations: 7.328 kB / 0.5194 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2799, allocations: 0 / 0.5194 GB, free: 35.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2799, allocations: 0 / 0.5194 GB, free: 35.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004814/0.2804, allocations: 0.6021 MB / 0.52 GB, free: 34.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2805, allocations: 10.34 kB / 0.52 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.2805, allocations: 36.84 kB / 0.52 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2805, allocations: 42.88 kB / 0.5201 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.2807, allocations: 303.1 kB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.2808, allocations: 7.25 kB / 0.5204 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2808, allocations: 384 / 0.5204 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2809, allocations: 73.34 kB / 0.5204 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2809, allocations: 0 / 0.5204 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.281, allocations: 0 / 0.5204 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.281, allocations: 0 / 0.5204 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.2811, allocations: 45.81 kB / 0.5205 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.2815, allocations: 390.4 kB / 0.5208 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.2816, allocations: 53.25 kB / 0.5209 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.2817, allocations: 30.48 kB / 0.5209 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2817, allocations: 0 / 0.5209 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.2817, allocations: 37.44 kB / 0.521 GB, free: 34.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2817, allocations: 0 / 0.521 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006952/0.2824, allocations: 329 kB / 0.5213 GB, free: 33.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.2824, allocations: 54.64 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.2831, allocations: 0.871 MB / 0.5222 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2831, allocations: 29.7 kB / 0.5222 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2832, allocations: 221.6 kB / 0.5224 GB, free: 33.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2832, allocations: 18.31 kB / 0.5224 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.2832, allocations: 4 kB / 0.5224 GB, free: 33.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.2833, allocations: 356.4 kB / 0.5228 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2834, allocations: 43.47 kB / 0.5228 GB, free: 32.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.2835, allocations: 42.66 kB / 0.5229 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2837, allocations: 94.39 kB / 0.5229 GB, free: 32.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2837, allocations: 0 / 0.5229 GB, free: 32.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002503/0.2839, allocations: 163.4 kB / 0.5231 GB, free: 32.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.284, allocations: 6.031 kB / 0.5231 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.284, allocations: 0 / 0.5231 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.284, allocations: 3.938 kB / 0.5231 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2841, allocations: 23.27 kB / 0.5231 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2841, allocations: 0 / 0.5231 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.2842, allocations: 19.88 kB / 0.5232 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2842, allocations: 6.969 kB / 0.5232 GB, free: 32.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 (7): * Single equations (assignments): 7 * 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.0001229/0.2843, allocations: 216.3 kB / 0.5234 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.2844, allocations: 44.47 kB / 0.5234 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.2847, allocations: 180.3 kB / 0.5236 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2847, allocations: 2.656 kB / 0.5236 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2847, allocations: 0 / 0.5236 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2847, allocations: 3.938 kB / 0.5236 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.2852, allocations: 0.5102 MB / 0.5241 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2852, allocations: 0 / 0.5241 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.2853, allocations: 27.39 kB / 0.5241 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2853, allocations: 0 / 0.5241 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2853, allocations: 3.938 kB / 0.5241 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2853, allocations: 6.688 kB / 0.5241 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2853, allocations: 0 / 0.5241 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2856, allocations: 259.5 kB / 0.5244 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.2856, allocations: 118.7 kB / 0.5245 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2857, allocations: 3.938 kB / 0.5245 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.2858, allocations: 16.06 kB / 0.5245 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.2858, allocations: 6.422 kB / 0.5245 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2858, allocations: 6.938 kB / 0.5245 GB, free: 31.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004262/0.2863, allocations: 0.6516 MB / 0.5252 GB, free: 31.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2863, allocations: 0 / 0.5252 GB, free: 31.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.2865, allocations: 26.38 kB / 0.5252 GB, free: 31.68 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 (7): * Single equations (assignments): 7 * 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.001055/0.2876, allocations: 1.092 MB / 0.5262 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.2878, allocations: 91.78 kB / 0.5263 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2878, allocations: 4 kB / 0.5263 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.2879, allocations: 51.17 kB / 0.5264 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.2883, allocations: 26.27 kB / 0.5264 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2906, allocations: 2.452 MB / 0.5288 GB, free: 29.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.2908, allocations: 0.8248 MB / 0.5296 GB, free: 29.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.2909, allocations: 107.3 kB / 0.5297 GB, free: 28.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2909, allocations: 0 / 0.5297 GB, free: 28.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.747/3.038, allocations: 6.681 MB / 0.5362 GB, free: 27.46 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches