Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, 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.215/1.215, 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.0008154/0.0008153, allocations: 95.56 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2833/0.2833, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002586, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2797, allocations: 62.95 MB / 0.516 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.00148/0.2812, allocations: 1.375 MB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006259/0.2819, allocations: 0.5039 MB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.2819, allocations: 0 / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.2821, allocations: 58.11 kB / 0.5178 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.2823, allocations: 75.47 kB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2826, allocations: 119.1 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2827, allocations: 75.34 kB / 0.5181 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.2828, allocations: 18.34 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.2828, allocations: 25.64 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.2829, allocations: 43.27 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.2829, allocations: 7.938 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.283, allocations: 45.64 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.2831, allocations: 19.81 kB / 0.5183 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.2831, allocations: 54.3 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.2832, allocations: 82.11 kB / 0.5184 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2832, allocations: 0 / 0.5184 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2832, allocations: 0 / 0.5184 GB, free: 35.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.2832, allocations: 0 / 0.5184 GB, free: 35.69 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.0003904/0.2836, allocations: 417.4 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2837, allocations: 8.719 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.2837, allocations: 37.98 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.2837, allocations: 14.62 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2839, allocations: 198.5 kB / 0.519 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.2839, allocations: 384 / 0.519 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.2839, allocations: 13.58 kB / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.2841, allocations: 68.61 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2841, allocations: 4 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2841, allocations: 0 / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2841, allocations: 0 / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2842, allocations: 49.06 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.2845, allocations: 306.8 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2847, allocations: 60.19 kB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.2848, allocations: 27.77 kB / 0.5195 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2849, allocations: 6.938 kB / 0.5195 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.2849, allocations: 33.89 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.2849, allocations: 3.984 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001301/0.2862, allocations: 469.2 kB / 0.52 GB, free: 34.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.2862, allocations: 58.25 kB / 0.5201 GB, free: 34.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2864, allocations: 189.6 kB / 0.5203 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.2864, allocations: 29.7 kB / 0.5203 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.2864, allocations: 113.4 kB / 0.5204 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2864, allocations: 33.28 kB / 0.5204 GB, free: 34.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.2865, allocations: 4 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.2865, allocations: 328.7 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.2866, allocations: 50.92 kB / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.2867, allocations: 53.27 kB / 0.5208 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.287, allocations: 120.2 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.287, allocations: 0 / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002668/0.2872, allocations: 157.2 kB / 0.5211 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2873, allocations: 9.844 kB / 0.5211 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2873, allocations: 0 / 0.5211 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2873, allocations: 3.938 kB / 0.5211 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2874, allocations: 26.98 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2874, allocations: 2.781 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.2875, allocations: 15.5 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2875, allocations: 6.625 kB / 0.5212 GB, free: 33.61 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.435e-05/0.2876, allocations: 127.5 kB / 0.5213 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2876, allocations: 13.47 kB / 0.5213 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.2879, allocations: 181.4 kB / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.288, allocations: 3.938 kB / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.288, allocations: 0 / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.288, allocations: 0 / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.2885, allocations: 494.8 kB / 0.522 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.2885, allocations: 0 / 0.522 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.056e-05/0.2886, allocations: 34.69 kB / 0.522 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2886, allocations: 2.938 kB / 0.522 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2886, allocations: 4.375 kB / 0.522 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2886, allocations: 3 kB / 0.522 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2886, allocations: 4 kB / 0.522 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.2889, allocations: 272.4 kB / 0.5223 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.289, allocations: 98.25 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.289, allocations: 0 / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.2891, allocations: 19.44 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.2891, allocations: 10.5 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.2892, allocations: 3 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.2892, allocations: 146.4 kB / 0.5225 GB, free: 32.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2893, allocations: 0 / 0.5225 GB, free: 32.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.2895, allocations: 29.33 kB / 0.5226 GB, free: 32.6 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.001238/0.2907, allocations: 1.144 MB / 0.5237 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.291, allocations: 117.8 kB / 0.5238 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.291, allocations: 4 kB / 0.5238 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.2912, allocations: 70.59 kB / 0.5239 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2915, allocations: 17.69 kB / 0.5239 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2927, allocations: 0.9086 MB / 0.5248 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2929, allocations: 0.7136 MB / 0.5255 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.293, allocations: 40.56 kB / 0.5255 GB, free: 30.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.293, allocations: 0 / 0.5255 GB, free: 30.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.744/3.037, allocations: 2.327 MB / 0.5278 GB, free: 30.13 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches