Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 203.8 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.207/1.207, allocations: 226.5 MB / 243.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007148/0.0007148, allocations: 100.4 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2739/0.2739, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002657, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 62.96 MB / 0.516 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.001501/0.2727, allocations: 1.498 MB / 0.5174 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.2737, allocations: 0.9087 MB / 0.5183 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.2738, allocations: 2.969 kB / 0.5183 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.274, allocations: 31.28 kB / 0.5184 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.2742, allocations: 65.95 kB / 0.5184 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.2744, allocations: 95.77 kB / 0.5185 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.2746, allocations: 254.9 kB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.2747, allocations: 15.06 kB / 0.5188 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2748, allocations: 80.22 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.275, allocations: 102.8 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.275, allocations: 5.938 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.2752, allocations: 112 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.2753, allocations: 60.34 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.2753, allocations: 102.1 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2755, allocations: 168.9 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2755, allocations: 0 / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2755, allocations: 3.938 kB / 0.5194 GB, free: 34.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.2756, allocations: 0 / 0.5194 GB, free: 34.74 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007745/0.2763, allocations: 0.5072 MB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2764, allocations: 15.05 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.2764, allocations: 47.58 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.2768, allocations: 62.73 kB / 0.52 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2769, allocations: 223.2 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.2769, allocations: 11.77 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.277, allocations: 10.12 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.2774, allocations: 281.9 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2774, allocations: 3.938 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2775, allocations: 6.938 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.2775, allocations: 16.25 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.278, allocations: 251.4 kB / 0.5208 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.2788, allocations: 0.8143 MB / 0.5216 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2792, allocations: 200.5 kB / 0.5218 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.2794, allocations: 118.9 kB / 0.5219 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.2794, allocations: 10.05 kB / 0.5219 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2795, allocations: 33.53 kB / 0.5219 GB, free: 33.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.2795, allocations: 0 / 0.5219 GB, free: 33.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008623/0.2803, allocations: 354.7 kB / 0.5222 GB, free: 32.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2804, allocations: 106.1 kB / 0.5224 GB, free: 32.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.2806, allocations: 252 kB / 0.5226 GB, free: 32.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2806, allocations: 29.7 kB / 0.5226 GB, free: 32.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.2807, allocations: 138.1 kB / 0.5228 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.2807, allocations: 34.25 kB / 0.5228 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.2808, allocations: 6.844 kB / 0.5228 GB, free: 32.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.2808, allocations: 335 kB / 0.5231 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.2811, allocations: 101.5 kB / 0.5232 GB, free: 32.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2813, allocations: 153 kB / 0.5234 GB, free: 32.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.2818, allocations: 256.8 kB / 0.5236 GB, free: 32.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2818, allocations: 0 / 0.5236 GB, free: 32.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000574/0.2824, allocations: 309.7 kB / 0.5239 GB, free: 31.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2824, allocations: 5.938 kB / 0.5239 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.2825, allocations: 6.656 kB / 0.5239 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2825, allocations: 6.453 kB / 0.5239 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.2827, allocations: 48.92 kB / 0.524 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2827, allocations: 0 / 0.524 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.2829, allocations: 35.06 kB / 0.524 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.2829, allocations: 15.28 kB / 0.524 GB, free: 31.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 9.107e-05/0.283, allocations: 140.8 kB / 0.5241 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.2831, allocations: 24.03 kB / 0.5242 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.2835, allocations: 229.7 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2835, allocations: 2.625 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2836, allocations: 2.594 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2836, allocations: 3.328 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.2839, allocations: 265.5 kB / 0.5246 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.2839, allocations: 9.406 kB / 0.5247 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.2841, allocations: 34.92 kB / 0.5247 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2841, allocations: 6.516 kB / 0.5247 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2841, allocations: 10.22 kB / 0.5247 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2841, allocations: 0 / 0.5247 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2841, allocations: 3.094 kB / 0.5247 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.2847, allocations: 0.498 MB / 0.5252 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.2847, allocations: 96.48 kB / 0.5253 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.2848, allocations: 10.38 kB / 0.5253 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.285, allocations: 24.34 kB / 0.5253 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.2851, allocations: 23.67 kB / 0.5253 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2851, allocations: 5.344 kB / 0.5253 GB, free: 30.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.2852, allocations: 190.6 kB / 0.5255 GB, free: 30.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2853, allocations: 0 / 0.5255 GB, free: 30.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.2856, allocations: 71.95 kB / 0.5256 GB, free: 30.86 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008322/0.2865, allocations: 1.069 MB / 0.5266 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.2871, allocations: 314.2 kB / 0.5269 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2871, allocations: 3.031 kB / 0.5269 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.2873, allocations: 194.2 kB / 0.5271 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.2879, allocations: 39.38 kB / 0.5272 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.29, allocations: 1.56 MB / 0.5287 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2902, allocations: 0.7365 MB / 0.5294 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2903, allocations: 61.22 kB / 0.5295 GB, free: 28.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2903, allocations: 0 / 0.5295 GB, free: 28.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.769/3.059, allocations: 3.756 MB / 0.5331 GB, free: 27.91 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],velocity[1],velocity[2],velocity[3],Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],input_v_0.y,input_v_1.y,input_v_2.y Variables in the result:IN_con[1].L,IN_con[2].L,IN_con[3].L,IN_var[1].cp,IN_var[1].eta,IN_var[1].lambda,IN_var[1].rho,IN_var[1].velocity,IN_var[2].cp,IN_var[2].eta,IN_var[2].lambda,IN_var[2].rho,IN_var[2].velocity,IN_var[3].cp,IN_var[3].eta,IN_var[3].lambda,IN_var[3].rho,IN_var[3].velocity,L,Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_v_0.duration,input_v_0.height,input_v_0.offset,input_v_0.startTime,input_v_0.y,input_v_1.amplitude,input_v_1.f,input_v_1.offset,input_v_1.phase,input_v_1.startTime,input_v_1.y,input_v_2.fallTimeConst,input_v_2.offset,input_v_2.outMax,input_v_2.riseTime,input_v_2.riseTimeConst,input_v_2.startTime,input_v_2.y,input_v_2.y_riseTime,lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]