Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001066/0.001066, allocations: 197.4 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.5 MB / 243.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007787/0.0007787, allocations: 105.2 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.2913/0.2913, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.00024, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 62.97 MB / 0.516 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.001731/0.2691, allocations: 1.785 MB / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.27, allocations: 0.8186 MB / 0.5185 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.2701, allocations: 0 / 0.5185 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.2703, allocations: 56.14 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.2706, allocations: 138.5 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.2709, allocations: 80.23 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.2712, allocations: 0.5221 MB / 0.5193 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.2713, allocations: 52.45 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.2715, allocations: 161.4 kB / 0.5195 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2717, allocations: 216.2 kB / 0.5197 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2717, allocations: 12.47 kB / 0.5197 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.272, allocations: 246.8 kB / 0.52 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.2721, allocations: 105.3 kB / 0.5201 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.2722, allocations: 190.5 kB / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2725, allocations: 379.7 kB / 0.5206 GB, free: 34.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2725, allocations: 0 / 0.5206 GB, free: 34.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2726, allocations: 0 / 0.5206 GB, free: 34.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2726, allocations: 4 kB / 0.5206 GB, free: 34.48 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.000786/0.2734, allocations: 0.6372 MB / 0.5212 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2734, allocations: 9.25 kB / 0.5212 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.2735, allocations: 102.2 kB / 0.5213 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.2735, allocations: 47.56 kB / 0.5214 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.2738, allocations: 290.1 kB / 0.5217 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2738, allocations: 35 kB / 0.5217 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.2739, allocations: 48.23 kB / 0.5217 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008039/0.2747, allocations: 0.6628 MB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2747, allocations: 2.688 kB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.2748, allocations: 14.66 kB / 0.5224 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.2748, allocations: 52.59 kB / 0.5224 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.2757, allocations: 0.7006 MB / 0.5231 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.2772, allocations: 1.355 MB / 0.5245 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.2778, allocations: 448.6 kB / 0.5249 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.2781, allocations: 169.8 kB / 0.525 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.2781, allocations: 9.031 kB / 0.5251 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.2781, allocations: 37.05 kB / 0.5251 GB, free: 32.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.2781, allocations: 112 / 0.5251 GB, free: 32.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008961/0.279, allocations: 0.5523 MB / 0.5256 GB, free: 32.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.2791, allocations: 54.38 kB / 0.5257 GB, free: 32.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.2795, allocations: 491.5 kB / 0.5261 GB, free: 31.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2795, allocations: 29.7 kB / 0.5262 GB, free: 31.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.2796, allocations: 216.9 kB / 0.5264 GB, free: 31.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.2796, allocations: 103.2 kB / 0.5265 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.2797, allocations: 6.656 kB / 0.5265 GB, free: 31.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.2797, allocations: 355.2 kB / 0.5268 GB, free: 31.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.28, allocations: 162 kB / 0.527 GB, free: 31.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.2803, allocations: 258 kB / 0.5272 GB, free: 31.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.2808, allocations: 441.5 kB / 0.5276 GB, free: 31.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2808, allocations: 3.141 kB / 0.5277 GB, free: 31.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006939/0.2815, allocations: 0.4927 MB / 0.5281 GB, free: 30.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2816, allocations: 5.656 kB / 0.5281 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2816, allocations: 3.031 kB / 0.5281 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2816, allocations: 5.812 kB / 0.5281 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.2824, allocations: 201.2 kB / 0.5283 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.2845, allocations: 7.304 MB / 0.5355 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.2848, allocations: 65.89 kB / 0.5355 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2848, allocations: 27.05 kB / 0.5356 GB, free: 23.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.2851, allocations: 218.2 kB / 0.5358 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.2851, allocations: 46.62 kB / 0.5358 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000874/0.286, allocations: 0.5363 MB / 0.5363 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.286, allocations: 4.375 kB / 0.5363 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2861, allocations: 4 kB / 0.5363 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2861, allocations: 0 / 0.5363 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.2865, allocations: 418 kB / 0.5367 GB, free: 23.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2865, allocations: 0 / 0.5367 GB, free: 23.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/0.2872, allocations: 194 kB / 0.5369 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2872, allocations: 2.688 kB / 0.5369 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.2873, allocations: 16.62 kB / 0.5369 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.2893, allocations: 7.303 MB / 0.5441 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2893, allocations: 3.938 kB / 0.5441 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.2899, allocations: 0.5092 MB / 0.5446 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.29, allocations: 125.9 kB / 0.5447 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.2901, allocations: 4 kB / 0.5447 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2903, allocations: 19.23 kB / 0.5447 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.2904, allocations: 33.92 kB / 0.5448 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2904, allocations: 15.34 kB / 0.5448 GB, free: 15.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003082/0.2908, allocations: 347.4 kB / 0.5451 GB, free: 15.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2908, allocations: 0 / 0.5451 GB, free: 15.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.2912, allocations: 135 kB / 0.5452 GB, free: 15.33 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008728/0.2921, allocations: 1.081 MB / 0.5463 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.2933, allocations: 0.5292 MB / 0.5468 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2934, allocations: 0 / 0.5468 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.2942, allocations: 344.8 kB / 0.5471 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.2948, allocations: 109.2 kB / 0.5472 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.2987, allocations: 3.053 MB / 0.5502 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.299, allocations: 0.8728 MB / 0.5511 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.2993, allocations: 136 kB / 0.5512 GB, free: 12.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2993, allocations: 0 / 0.5512 GB, free: 12.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.734/6.033, allocations: 28.21 MB / 0.5787 GB, free: 7.996 MB / 394.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches