Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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.0009019/0.000902, allocations: 199.7 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 226.5 MB / 243.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007847/0.0007846, 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.2803/0.2803, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002425, allocations: 11.94 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2582, allocations: 62.96 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.001528/0.2598, allocations: 1.69 MB / 0.5176 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.2607, allocations: 0.8453 MB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.2608, allocations: 2.938 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.261, allocations: 52.94 kB / 0.5185 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.2613, allocations: 114.3 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.2614, allocations: 77.91 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.2617, allocations: 452.8 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.2618, allocations: 44.36 kB / 0.5192 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.262, allocations: 139.3 kB / 0.5193 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.2621, allocations: 188.4 kB / 0.5195 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2622, allocations: 8.844 kB / 0.5195 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2624, allocations: 147.1 kB / 0.5196 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.2625, allocations: 92.69 kB / 0.5197 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2626, allocations: 171.7 kB / 0.5199 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.2628, allocations: 308.3 kB / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2628, allocations: 4 kB / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2628, allocations: 0 / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2629, allocations: 0 / 0.5202 GB, free: 34.66 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.000681/0.2635, allocations: 0.5859 MB / 0.5207 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2636, allocations: 9.562 kB / 0.5208 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/0.2637, allocations: 82.09 kB / 0.5208 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.2637, allocations: 44.28 kB / 0.5209 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2639, allocations: 281.2 kB / 0.5211 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.264, allocations: 29.72 kB / 0.5212 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.264, allocations: 31.66 kB / 0.5212 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.2647, allocations: 0.5628 MB / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2647, allocations: 0 / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.2647, allocations: 10.97 kB / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/0.2648, allocations: 47.97 kB / 0.5218 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.2655, allocations: 0.579 MB / 0.5224 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.2668, allocations: 1.176 MB / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.2673, allocations: 391.9 kB / 0.5239 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2675, allocations: 138.3 kB / 0.524 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.2676, allocations: 14 kB / 0.524 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.2676, allocations: 33.28 kB / 0.5241 GB, free: 32.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.2676, allocations: 0 / 0.5241 GB, free: 32.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007849/0.2684, allocations: 477.3 kB / 0.5245 GB, free: 32.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2684, allocations: 54.22 kB / 0.5246 GB, free: 32.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.2688, allocations: 453 kB / 0.525 GB, free: 32.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2688, allocations: 33.7 kB / 0.525 GB, free: 32.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.2689, allocations: 181.7 kB / 0.5252 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.2689, allocations: 73.77 kB / 0.5253 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.269, allocations: 6.844 kB / 0.5253 GB, free: 32.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.269, allocations: 355.4 kB / 0.5256 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.2693, allocations: 120.3 kB / 0.5257 GB, free: 31.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.2695, allocations: 130.4 kB / 0.5259 GB, free: 31.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.2699, allocations: 273.3 kB / 0.5261 GB, free: 31.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2699, allocations: 0 / 0.5261 GB, free: 31.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005263/0.2704, allocations: 356.6 kB / 0.5265 GB, free: 31.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2705, allocations: 5.219 kB / 0.5265 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2705, allocations: 7.875 kB / 0.5265 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2705, allocations: 0 / 0.5265 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.2712, allocations: 163.6 kB / 0.5266 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.2728, allocations: 5.51 MB / 0.532 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.273, allocations: 55.8 kB / 0.5321 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.273, allocations: 15.03 kB / 0.5321 GB, free: 26.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.2732, allocations: 192.6 kB / 0.5323 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.2732, allocations: 33.19 kB / 0.5323 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007227/0.274, allocations: 462.3 kB / 0.5327 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.274, allocations: 2.688 kB / 0.5327 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.274, allocations: 2.625 kB / 0.5328 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.274, allocations: 3.469 kB / 0.5328 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.2743, allocations: 381.3 kB / 0.5331 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2743, allocations: 0 / 0.5331 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.2749, allocations: 160.2 kB / 0.5333 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2749, allocations: 3 kB / 0.5333 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.275, allocations: 2.875 kB / 0.5333 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.2764, allocations: 5.526 MB / 0.5387 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2764, allocations: 3.938 kB / 0.5387 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.277, allocations: 460 kB / 0.5391 GB, free: 20.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.2771, allocations: 117.6 kB / 0.5392 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.2771, allocations: 7.062 kB / 0.5392 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.2773, allocations: 13.03 kB / 0.5392 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.2774, allocations: 19.42 kB / 0.5393 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.2774, allocations: 12.41 kB / 0.5393 GB, free: 19.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.2777, allocations: 332.9 kB / 0.5396 GB, free: 19.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2777, allocations: 0 / 0.5396 GB, free: 19.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.278, allocations: 110.5 kB / 0.5397 GB, free: 19.74 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.0008424/0.2789, allocations: 1.021 MB / 0.5407 GB, free: 19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.2799, allocations: 419.7 kB / 0.5411 GB, free: 18.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2799, allocations: 0 / 0.5411 GB, free: 18.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.2806, allocations: 285.4 kB / 0.5414 GB, free: 18.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.2811, allocations: 89.52 kB / 0.5415 GB, free: 18.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.2839, allocations: 2.701 MB / 0.5441 GB, free: 17.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.2841, allocations: 0.8501 MB / 0.5449 GB, free: 17.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.2843, allocations: 118.6 kB / 0.545 GB, free: 16.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2843, allocations: 0 / 0.545 GB, free: 16.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.911/5.196, allocations: 20.04 MB / 0.5646 GB, free: 6.773 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches