Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_overall,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009915/0.0009915, allocations: 198.9 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 226.5 MB / 243.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007321/0.0007321, allocations: 93.12 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2784/0.2784, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002568, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2733, allocations: 62.96 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.001484/0.2748, allocations: 1.492 MB / 0.5174 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2763, allocations: 1.377 MB / 0.5188 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.2764, allocations: 2.75 kB / 0.5188 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2766, allocations: 24.39 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.2768, allocations: 73.72 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.2772, allocations: 192.7 kB / 0.5191 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.2774, allocations: 250.9 kB / 0.5193 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.2775, allocations: 21.5 kB / 0.5193 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.2776, allocations: 79.38 kB / 0.5194 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2777, allocations: 102.7 kB / 0.5195 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.2778, allocations: 5.594 kB / 0.5195 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.2781, allocations: 216.1 kB / 0.5197 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.2781, allocations: 54.94 kB / 0.5198 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.2782, allocations: 98.25 kB / 0.5199 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.2784, allocations: 212.4 kB / 0.5201 GB, free: 34.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2784, allocations: 2.844 kB / 0.5201 GB, free: 34.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2785, allocations: 0 / 0.5201 GB, free: 34.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2785, allocations: 0 / 0.5201 GB, free: 34.6 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.0007401/0.2792, allocations: 0.5271 MB / 0.5206 GB, free: 34.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2793, allocations: 9.875 kB / 0.5206 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.975e-05/0.2793, allocations: 47.91 kB / 0.5206 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.2796, allocations: 64.77 kB / 0.5207 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.2798, allocations: 222.9 kB / 0.5209 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2799, allocations: 7.391 kB / 0.5209 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.2799, allocations: 12.66 kB / 0.5209 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.2804, allocations: 284.6 kB / 0.5212 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2804, allocations: 0 / 0.5212 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2804, allocations: 10.81 kB / 0.5212 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.2804, allocations: 8.859 kB / 0.5212 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.2809, allocations: 251.9 kB / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.2818, allocations: 0.8154 MB / 0.5222 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.2821, allocations: 204.1 kB / 0.5224 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2823, allocations: 114 kB / 0.5225 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.2824, allocations: 2.812 kB / 0.5226 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2824, allocations: 41.34 kB / 0.5226 GB, free: 32.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.2824, allocations: 0 / 0.5226 GB, free: 32.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008608/0.2833, allocations: 351.4 kB / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2833, allocations: 106.8 kB / 0.523 GB, free: 32.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.2835, allocations: 255.7 kB / 0.5233 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2836, allocations: 32.42 kB / 0.5233 GB, free: 32.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.2836, allocations: 127.8 kB / 0.5234 GB, free: 32.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.2836, allocations: 41.39 kB / 0.5235 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.2837, allocations: 11 kB / 0.5235 GB, free: 32.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.2837, allocations: 339.2 kB / 0.5238 GB, free: 32.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.284, allocations: 99.97 kB / 0.5239 GB, free: 32.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.2842, allocations: 147.1 kB / 0.524 GB, free: 31.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.2847, allocations: 252 kB / 0.5243 GB, free: 31.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2848, allocations: 0 / 0.5243 GB, free: 31.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005825/0.2853, allocations: 309.9 kB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2854, allocations: 8.156 kB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.2854, allocations: 12.66 kB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2854, allocations: 2.5 kB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2856, allocations: 39.23 kB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2857, allocations: 2.656 kB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2859, allocations: 48.44 kB / 0.5247 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.2859, allocations: 14.48 kB / 0.5247 GB, free: 31.74 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.549e-05/0.286, allocations: 144 kB / 0.5248 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.2861, allocations: 19.38 kB / 0.5248 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.2865, allocations: 226.9 kB / 0.5251 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2865, allocations: 3.031 kB / 0.5251 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2865, allocations: 2.781 kB / 0.5251 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2865, allocations: 3.141 kB / 0.5251 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.2868, allocations: 254.7 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.2869, allocations: 12.47 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.287, allocations: 39.34 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2871, allocations: 0 / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2871, allocations: 6.156 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2871, allocations: 2.75 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2871, allocations: 3.938 kB / 0.5254 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.2877, allocations: 0.5022 MB / 0.5259 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.2877, allocations: 98.33 kB / 0.526 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.2878, allocations: 4 kB / 0.526 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.288, allocations: 23.28 kB / 0.526 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.2881, allocations: 24.09 kB / 0.526 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.2881, allocations: 3.562 kB / 0.526 GB, free: 30.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.2883, allocations: 191.3 kB / 0.5262 GB, free: 30.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2883, allocations: 3.906 kB / 0.5262 GB, free: 30.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004125/0.2887, allocations: 86.5 kB / 0.5263 GB, free: 30.71 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.0008883/0.2896, allocations: 1.134 MB / 0.5274 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005722/0.2902, allocations: 308.3 kB / 0.5277 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2902, allocations: 0 / 0.5277 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.2905, allocations: 197.2 kB / 0.5279 GB, free: 29.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.2909, allocations: 46.08 kB / 0.5279 GB, free: 29.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.2931, allocations: 1.559 MB / 0.5294 GB, free: 28.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.2933, allocations: 0.741 MB / 0.5302 GB, free: 28.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2934, allocations: 59.2 kB / 0.5302 GB, free: 28.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2934, allocations: 4 kB / 0.5302 GB, free: 28.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.826/3.12, allocations: 4.153 MB / 0.5343 GB, free: 27.65 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_1.y,input_v_2.y,input_v_0.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]