Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0008704/0.0008705, allocations: 175.5 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007381/0.0007381, allocations: 89.42 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2913/0.2913, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 15.98 kB / 432.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 58.84 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.002031/0.1158, allocations: 1.496 MB / 492.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1176, allocations: 1.369 MB / 493.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.1177, allocations: 0 / 493.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1179, allocations: 35.83 kB / 493.8 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1181, allocations: 63.66 kB / 493.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.1186, allocations: 199.2 kB / 494.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.1189, allocations: 247.1 kB / 494.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.119, allocations: 17.55 kB / 494.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1191, allocations: 87.62 kB / 494.4 MB, free: 7.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1193, allocations: 99.64 kB / 494.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1193, allocations: 11.94 kB / 494.6 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.1197, allocations: 203.6 kB / 494.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.1198, allocations: 55.8 kB / 494.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.1199, allocations: 101.3 kB / 494.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1202, allocations: 195.8 kB / 495.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1202, allocations: 0 / 495.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1202, allocations: 0 / 495.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1202, allocations: 4 kB / 495.1 MB, free: 6.578 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.001028/0.1212, allocations: 0.5262 MB / 495.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1213, allocations: 8.031 kB / 495.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.745e-05/0.1213, allocations: 54.72 kB / 495.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.1214, allocations: 20.66 kB / 495.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1216, allocations: 216 kB / 495.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1217, allocations: 12.61 kB / 495.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1217, allocations: 12.38 kB / 495.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.1222, allocations: 286.7 kB / 496.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1223, allocations: 0 / 496.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1223, allocations: 8 kB / 496.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.1223, allocations: 8.234 kB / 496.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.1229, allocations: 252.4 kB / 496.5 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.124, allocations: 0.8176 MB / 497.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.1244, allocations: 207.6 kB / 497.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.1246, allocations: 114.5 kB / 497.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1247, allocations: 0 / 497.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1247, allocations: 42.69 kB / 497.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1247, allocations: 0 / 497.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009765/0.1257, allocations: 357.2 kB / 498 MB, free: 3.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.1258, allocations: 103.2 kB / 498.1 MB, free: 3.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.126, allocations: 261 kB / 498.4 MB, free: 3.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1261, allocations: 29.7 kB / 498.4 MB, free: 3.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.1262, allocations: 131.9 kB / 498.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1262, allocations: 43.38 kB / 498.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.1262, allocations: 8 kB / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1264, allocations: 330.8 kB / 498.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.1266, allocations: 107.9 kB / 499 MB, free: 2.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.1269, allocations: 144.7 kB / 499.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.1275, allocations: 256.8 kB / 499.4 MB, free: 1.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1275, allocations: 4 kB / 499.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006804/0.1282, allocations: 297.2 kB / 499.7 MB, free: 1.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1282, allocations: 4 kB / 499.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.1282, allocations: 11.98 kB / 499.7 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1283, allocations: 0 / 499.7 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.1285, allocations: 48.03 kB / 499.7 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1285, allocations: 4 kB / 499.8 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1287, allocations: 47.66 kB / 499.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.1288, allocations: 7.938 kB / 499.8 MB, free: 1.555 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 0.0001292/0.1289, allocations: 145.7 kB / 499.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.129, allocations: 19.81 kB / 500 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.1295, allocations: 235.1 kB / 0.4885 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1295, allocations: 4 kB / 0.4885 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1295, allocations: 0 / 0.4885 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1295, allocations: 4.188 kB / 0.4885 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.1299, allocations: 257.4 kB / 0.4887 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.1299, allocations: 11.94 kB / 0.4887 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1301, allocations: 39.95 kB / 0.4888 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1301, allocations: 3.938 kB / 0.4888 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1302, allocations: 8 kB / 0.4888 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1302, allocations: 0 / 0.4888 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1302, allocations: 0 / 0.4888 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.1308, allocations: 0.4977 MB / 0.4893 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.1309, allocations: 100.8 kB / 0.4894 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.131, allocations: 4 kB / 0.4894 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.1312, allocations: 23.98 kB / 0.4894 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.1313, allocations: 23.91 kB / 0.4894 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1313, allocations: 8 kB / 0.4894 GB, free: 88 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1976/0.3289, allocations: 186 kB / 0.4896 GB, free: 43.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3289, allocations: 0 / 0.4896 GB, free: 43.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006896/0.3296, allocations: 91.44 kB / 0.4897 GB, free: 43.1 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.001183/0.3308, allocations: 1.13 MB / 0.4908 GB, free: 42.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.3315, allocations: 312.9 kB / 0.4911 GB, free: 42.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3315, allocations: 0 / 0.4911 GB, free: 42.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.3318, allocations: 194.6 kB / 0.4913 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.3324, allocations: 40.77 kB / 0.4913 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.3351, allocations: 1.566 MB / 0.4928 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.3353, allocations: 0.7414 MB / 0.4936 GB, free: 40.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3354, allocations: 56.77 kB / 0.4936 GB, free: 40.89 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3354, allocations: 1 kB / 0.4936 GB, free: 40.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.816/3.152, allocations: 4.145 MB / 0.4977 GB, free: 40.58 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","../files/ModelicaTest_3.2.3_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.freqHz,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]