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_laminar_KC.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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",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.0008707/0.0008707, allocations: 175.7 kB / 16.72 MB, free: 5.082 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.177/1.177, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006915/0.0006915, allocations: 85.02 kB / 271.2 MB, free: 8.254 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.3013/0.3013, allocations: 43.57 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 15.98 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09208, allocations: 58.85 MB / 491 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001597/0.09372, allocations: 1.387 MB / 492.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.09466, allocations: 0.7065 MB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.09472, allocations: 0 / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.09491, allocations: 27.83 kB / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.09515, allocations: 63.78 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.09532, allocations: 51.77 kB / 493.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.09555, allocations: 207.2 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.0956, allocations: 13.39 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.09568, allocations: 51.78 kB / 493.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.09582, allocations: 91.66 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.09584, allocations: 4 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.09598, allocations: 55.91 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.09604, allocations: 47.81 kB / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.09613, allocations: 89.36 kB / 493.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.0963, allocations: 115.9 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.09631, allocations: 0 / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09632, allocations: 3.938 kB / 493.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.09632, allocations: 0 / 493.8 MB, free: 7.605 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.0005313/0.09686, allocations: 450.8 kB / 494.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.0969, allocations: 8.031 kB / 494.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.09695, allocations: 42.75 kB / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.09744, allocations: 72.66 kB / 494.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.09764, allocations: 220 kB / 494.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.09766, allocations: 4.375 kB / 494.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.09769, allocations: 12.38 kB / 494.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.09812, allocations: 272 kB / 494.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.09814, allocations: 0 / 494.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.09816, allocations: 0 / 494.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.09819, allocations: 19.98 kB / 494.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.09866, allocations: 255.7 kB / 495.2 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.09974, allocations: 0.664 MB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.1001, allocations: 218.4 kB / 496.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1003, allocations: 88.83 kB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1003, allocations: 4 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1004, allocations: 34.55 kB / 496.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1004, allocations: 0 / 496.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006481/0.101, allocations: 309.2 kB / 496.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1011, allocations: 51.41 kB / 496.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1013, allocations: 230.1 kB / 496.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1013, allocations: 25.7 kB / 496.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.1014, allocations: 119.9 kB / 496.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.1014, allocations: 51.38 kB / 496.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.1014, allocations: 4 kB / 497 MB, free: 4.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1015, allocations: 326.8 kB / 497.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1017, allocations: 83.91 kB / 497.4 MB, free: 3.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1019, allocations: 123.1 kB / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.1023, allocations: 211.6 kB / 497.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1023, allocations: 0 / 497.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004762/0.1028, allocations: 269.2 kB / 497.9 MB, free: 3.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1028, allocations: 4 kB / 497.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1028, allocations: 8.094 kB / 498 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1029, allocations: 0 / 498 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.1052, allocations: 259.6 kB / 498.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1786/0.2838, allocations: 8.592 MB / 0.4949 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.2841, allocations: 24.17 kB / 0.4949 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.2842, allocations: 8.984 kB / 0.495 GB, free: 37.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.2843, allocations: 140.6 kB / 0.4951 GB, free: 36.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.2844, allocations: 19.38 kB / 0.4951 GB, free: 36.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.2849, allocations: 261 kB / 0.4954 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2849, allocations: 7.297 kB / 0.4954 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.2849, allocations: 0.7656 kB / 0.4954 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.285, allocations: 0.7031 kB / 0.4954 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2852, allocations: 245.1 kB / 0.4956 GB, free: 36.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2852, allocations: 3.594 kB / 0.4956 GB, free: 36.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.2868, allocations: 205 kB / 0.4958 GB, free: 36.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2868, allocations: 1.156 kB / 0.4958 GB, free: 36.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2869, allocations: 10.72 kB / 0.4958 GB, free: 36.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005347/0.2922, allocations: 8.131 MB / 0.5037 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2922, allocations: 1 kB / 0.5037 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.2927, allocations: 299.7 kB / 0.504 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.2928, allocations: 104.7 kB / 0.5041 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.2928, allocations: 4.938 kB / 0.5041 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.293, allocations: 14.73 kB / 0.5042 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2931, allocations: 19.39 kB / 0.5042 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.2931, allocations: 8.016 kB / 0.5042 GB, free: 28.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.2933, allocations: 184.7 kB / 0.5044 GB, free: 28.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2933, allocations: 0 / 0.5044 GB, free: 28.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004411/0.2938, allocations: 63.59 kB / 0.5044 GB, free: 28.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005981/0.2944, allocations: 0.844 MB / 0.5052 GB, free: 27.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003444/0.2978, allocations: 461.7 kB / 0.5057 GB, free: 27.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2979, allocations: 1.094 kB / 0.5057 GB, free: 27.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.3001, allocations: 321 kB / 0.506 GB, free: 27.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3004, allocations: 31.47 kB / 0.506 GB, free: 27.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3024, allocations: 1.381 MB / 0.5074 GB, free: 27.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3026, allocations: 0.7387 MB / 0.5081 GB, free: 26.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.3027, allocations: 50.22 kB / 0.5081 GB, free: 26.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3027, allocations: 0 / 0.5081 GB, free: 26.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.013/4.315, allocations: 6.738 MB / 0.5147 GB, free: 26.16 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_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_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches