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_KC.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_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.0009886/0.0009884, allocations: 199.8 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.2/1.2, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007411/0.0007411, allocations: 102 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3252/0.3252, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002447, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2672, allocations: 62.96 MB / 0.516 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001407/0.2686, allocations: 1.393 MB / 0.5173 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.2694, allocations: 0.6914 MB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.2695, allocations: 0 / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.2697, allocations: 34.3 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.2699, allocations: 56.92 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.27, allocations: 49.16 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.2702, allocations: 207.8 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.2703, allocations: 12.2 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.2703, allocations: 56.58 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.2704, allocations: 80.88 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2705, allocations: 2.938 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2706, allocations: 63.47 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.2706, allocations: 43.08 kB / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.2707, allocations: 89.39 kB / 0.5187 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.2709, allocations: 128 kB / 0.5188 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2709, allocations: 0 / 0.5188 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2709, allocations: 0 / 0.5188 GB, free: 35.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2709, allocations: 0 / 0.5188 GB, free: 35.43 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.0004618/0.2714, allocations: 437.1 kB / 0.5192 GB, free: 35.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2714, allocations: 15.53 kB / 0.5192 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.2715, allocations: 45.14 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.2719, allocations: 74.45 kB / 0.5194 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2721, allocations: 221.3 kB / 0.5196 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2721, allocations: 10.53 kB / 0.5196 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.2721, allocations: 12.53 kB / 0.5196 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.2725, allocations: 271.9 kB / 0.5198 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2725, allocations: 0 / 0.5198 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2726, allocations: 0 / 0.5198 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.2726, allocations: 21.84 kB / 0.5199 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.273, allocations: 248.3 kB / 0.5201 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.274, allocations: 0.663 MB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.2743, allocations: 226.2 kB / 0.521 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2745, allocations: 89.09 kB / 0.5211 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2745, allocations: 6.219 kB / 0.5211 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.2746, allocations: 38.5 kB / 0.5211 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2746, allocations: 0 / 0.5211 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006175/0.2752, allocations: 300.2 kB / 0.5214 GB, free: 33.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.2752, allocations: 57.94 kB / 0.5214 GB, free: 33.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.2754, allocations: 222 kB / 0.5216 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2754, allocations: 29.7 kB / 0.5217 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.2755, allocations: 116.7 kB / 0.5218 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.2755, allocations: 55.72 kB / 0.5218 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.2755, allocations: 3.938 kB / 0.5218 GB, free: 33.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.2756, allocations: 328.2 kB / 0.5222 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.2758, allocations: 84.19 kB / 0.5222 GB, free: 33.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2759, allocations: 120.1 kB / 0.5224 GB, free: 33.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.2763, allocations: 214.1 kB / 0.5226 GB, free: 33.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2763, allocations: 3.938 kB / 0.5226 GB, free: 33.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004175/0.2767, allocations: 267.6 kB / 0.5228 GB, free: 33.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2767, allocations: 2.938 kB / 0.5228 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2767, allocations: 2.875 kB / 0.5228 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2768, allocations: 0 / 0.5228 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.2791, allocations: 256.1 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.2859, allocations: 8.601 MB / 0.5315 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.2861, allocations: 25.41 kB / 0.5315 GB, free: 24.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2862, allocations: 13.19 kB / 0.5315 GB, free: 24.73 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 9.709e-05/0.2863, allocations: 135.3 kB / 0.5316 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.2863, allocations: 20.19 kB / 0.5316 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.2867, allocations: 254.4 kB / 0.5319 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2868, allocations: 0 / 0.5319 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.2868, allocations: 3.047 kB / 0.5319 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2868, allocations: 0 / 0.5319 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2869, allocations: 235.3 kB / 0.5321 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.287, allocations: 15.16 kB / 0.5321 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.2885, allocations: 210.9 kB / 0.5323 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2885, allocations: 3.938 kB / 0.5323 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2886, allocations: 5.922 kB / 0.5323 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/0.2935, allocations: 8.125 MB / 0.5403 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2935, allocations: 3.938 kB / 0.5403 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.2939, allocations: 300 kB / 0.5406 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.2939, allocations: 105.2 kB / 0.5407 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.294, allocations: 0 / 0.5407 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2942, allocations: 16.11 kB / 0.5407 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.2942, allocations: 21.67 kB / 0.5407 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2943, allocations: 2.562 kB / 0.5407 GB, free: 15.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2944, allocations: 188.5 kB / 0.5409 GB, free: 15.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2944, allocations: 0 / 0.5409 GB, free: 15.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000414/0.2948, allocations: 64.84 kB / 0.5409 GB, free: 15.73 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.0006129/0.2954, allocations: 0.8514 MB / 0.5418 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.2986, allocations: 457.6 kB / 0.5422 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2986, allocations: 2.844 kB / 0.5422 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.3007, allocations: 318.8 kB / 0.5425 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.301, allocations: 32.3 kB / 0.5426 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3028, allocations: 1.365 MB / 0.5439 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.3029, allocations: 0.7444 MB / 0.5446 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.303, allocations: 47.77 kB / 0.5447 GB, free: 13.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.303, allocations: 0 / 0.5447 GB, free: 13.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.976/4.279, allocations: 6.744 MB / 0.5512 GB, free: 12.64 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_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/kc_laminar_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches