Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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.000947/0.000947, allocations: 192.6 kB / 16.1 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, 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.0008749/0.0008748, allocations: 96.56 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.2905/0.2905, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002605, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 62.97 MB / 0.516 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.001452/0.2727, allocations: 1.367 MB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006621/0.2734, allocations: 0.5284 MB / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.2734, allocations: 0 / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2736, allocations: 66.34 kB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.2738, allocations: 73.03 kB / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.2741, allocations: 164.6 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2743, allocations: 71.09 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.2744, allocations: 23.95 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.2744, allocations: 36.8 kB / 0.5182 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.2745, allocations: 37.8 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2745, allocations: 6.922 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.2746, allocations: 40.02 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.2746, allocations: 19.62 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.2747, allocations: 58.52 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2748, allocations: 90.95 kB / 0.5185 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2748, allocations: 0 / 0.5185 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2748, allocations: 0 / 0.5185 GB, free: 35.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.2748, allocations: 0 / 0.5185 GB, free: 35.63 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.0003633/0.2752, allocations: 410.3 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2752, allocations: 8.656 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.2753, allocations: 37.09 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.2753, allocations: 14.59 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2754, allocations: 204 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.2754, allocations: 7.703 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2755, allocations: 5.875 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.2756, allocations: 68.2 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2756, allocations: 6.047 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2757, allocations: 4 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2757, allocations: 0 / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2758, allocations: 52.03 kB / 0.5193 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.2762, allocations: 328.3 kB / 0.5196 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.2764, allocations: 73.95 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/0.2764, allocations: 26.94 kB / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2765, allocations: 3.094 kB / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.057e-05/0.2765, allocations: 30.56 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2765, allocations: 0 / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001363/0.2779, allocations: 0.4946 MB / 0.5202 GB, free: 34.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.2779, allocations: 54.38 kB / 0.5202 GB, free: 34.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.278, allocations: 193.4 kB / 0.5204 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.278, allocations: 33.7 kB / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.2781, allocations: 104.8 kB / 0.5205 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.2781, allocations: 40.64 kB / 0.5206 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.2781, allocations: 7.938 kB / 0.5206 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.2782, allocations: 320.9 kB / 0.5209 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2783, allocations: 65.38 kB / 0.521 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2784, allocations: 64.19 kB / 0.521 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.2787, allocations: 144.2 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2787, allocations: 0 / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000294/0.279, allocations: 180.7 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.279, allocations: 5.719 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.279, allocations: 3.938 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.279, allocations: 6.844 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2792, allocations: 30.36 kB / 0.5214 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2792, allocations: 7.375 kB / 0.5214 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.2792, allocations: 11.19 kB / 0.5214 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2792, allocations: 6.328 kB / 0.5214 GB, free: 33.52 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.779e-05/0.2793, allocations: 128.2 kB / 0.5215 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2794, allocations: 9.938 kB / 0.5215 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.2797, allocations: 213 kB / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2797, allocations: 6.906 kB / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2797, allocations: 0 / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2798, allocations: 0 / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.2803, allocations: 0.5167 MB / 0.5222 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2803, allocations: 0 / 0.5222 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.2804, allocations: 31.27 kB / 0.5223 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2804, allocations: 2.969 kB / 0.5223 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2804, allocations: 4 kB / 0.5223 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2805, allocations: 2.812 kB / 0.5223 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2805, allocations: 3.984 kB / 0.5223 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.2808, allocations: 303.4 kB / 0.5226 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.2808, allocations: 83.67 kB / 0.5227 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2808, allocations: 9.953 kB / 0.5227 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.2809, allocations: 14.61 kB / 0.5227 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.281, allocations: 8.266 kB / 0.5227 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.281, allocations: 2.781 kB / 0.5227 GB, free: 32.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.366e-05/0.2811, allocations: 159.2 kB / 0.5228 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2811, allocations: 0 / 0.5228 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.2813, allocations: 23.47 kB / 0.5229 GB, free: 32.48 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.001234/0.2826, allocations: 1.174 MB / 0.524 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.2829, allocations: 143.3 kB / 0.5241 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2829, allocations: 2.688 kB / 0.5241 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.2831, allocations: 71.58 kB / 0.5242 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.2834, allocations: 24.06 kB / 0.5242 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2846, allocations: 0.9889 MB / 0.5252 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2848, allocations: 0.7164 MB / 0.5259 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.2848, allocations: 39.64 kB / 0.5259 GB, free: 30.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2848, allocations: 0 / 0.5259 GB, free: 30.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/3.046, allocations: 2.457 MB / 0.5283 GB, free: 29.95 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches