Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 79.86 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3426, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003321/0.346, allocations: 2.012 MB / 0.5325 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3477, allocations: 0.9351 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.3479, allocations: 5.312 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3482, allocations: 64.16 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.3486, allocations: 126.9 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3489, allocations: 85.09 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.3493, allocations: 393.2 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.752e-05/0.3494, allocations: 39.59 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.3496, allocations: 156.5 kB / 0.5343 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.3499, allocations: 181.4 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.3499, allocations: 9.781 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.3502, allocations: 152.7 kB / 0.5346 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.3503, allocations: 94.91 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.3505, allocations: 158.1 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.3511, allocations: 428.5 kB / 0.5352 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3511, allocations: 0 / 0.5352 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3511, allocations: 4 kB / 0.5352 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3511, allocations: 1.375 kB / 0.5352 GB, free: 9.973 MB / 398.1 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.001159/0.3523, allocations: 0.6617 MB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3523, allocations: 9.812 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.3524, allocations: 87.73 kB / 0.536 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.14e-05/0.3525, allocations: 46.97 kB / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.3529, allocations: 278.9 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.353, allocations: 27.88 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.353, allocations: 35.09 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009226/0.354, allocations: 0.561 MB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.354, allocations: 0 / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.354, allocations: 15.81 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.3541, allocations: 38.69 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.3551, allocations: 0.5715 MB / 0.5375 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3569, allocations: 1.182 MB / 0.5387 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.3575, allocations: 372.7 kB / 0.539 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.3578, allocations: 134 kB / 0.5391 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.3579, allocations: 7.859 kB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3579, allocations: 40.28 kB / 0.5392 GB, free: 7.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.3579, allocations: 0 / 0.5392 GB, free: 7.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001114/0.359, allocations: 466.1 kB / 0.5396 GB, free: 7.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3591, allocations: 54.88 kB / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.3596, allocations: 454.1 kB / 0.5401 GB, free: 6.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3596, allocations: 30.73 kB / 0.5402 GB, free: 6.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3598, allocations: 196.4 kB / 0.5403 GB, free: 6.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.3599, allocations: 76.94 kB / 0.5404 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.36, allocations: 55.69 kB / 0.5405 GB, free: 6.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3601, allocations: 353.7 kB / 0.5408 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3604, allocations: 115.1 kB / 0.5409 GB, free: 6.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.3606, allocations: 119.7 kB / 0.541 GB, free: 6.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.3612, allocations: 266 kB / 0.5413 GB, free: 5.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3612, allocations: 0 / 0.5413 GB, free: 5.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007317/0.362, allocations: 346.5 kB / 0.5416 GB, free: 5.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.362, allocations: 8.781 kB / 0.5416 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.362, allocations: 0 / 0.5416 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.362, allocations: 1.281 kB / 0.5416 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/0.3629, allocations: 155.3 kB / 0.5418 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.3659, allocations: 5.527 MB / 0.5472 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3662, allocations: 52.73 kB / 0.5472 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3663, allocations: 10.92 kB / 0.5472 GB, free: 204 kB / 398.1 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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.3665, allocations: 202 kB / 0.5474 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.3666, allocations: 37.2 kB / 0.5475 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.3675, allocations: 451.6 kB / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3675, allocations: 4 kB / 0.5479 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3675, allocations: 0 / 0.5479 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3675, allocations: 3.984 kB / 0.5479 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.368, allocations: 373.2 kB / 0.5482 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.368, allocations: 4 kB / 0.5483 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.3687, allocations: 155.9 kB / 0.5484 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3687, allocations: 4 kB / 0.5484 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3687, allocations: 11.98 kB / 0.5484 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.3714, allocations: 5.517 MB / 0.5538 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3715, allocations: 7.938 kB / 0.5538 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.3721, allocations: 447 kB / 0.5542 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3723, allocations: 116.8 kB / 0.5543 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.3723, allocations: 8 kB / 0.5544 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3725, allocations: 16.08 kB / 0.5544 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.3726, allocations: 15.92 kB / 0.5544 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.3726, allocations: 15.98 kB / 0.5544 GB, free: 8.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003384/0.373, allocations: 335.1 kB / 0.5547 GB, free: 8.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.373, allocations: 0 / 0.5547 GB, free: 8.273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.3734, allocations: 103.8 kB / 0.5548 GB, free: 8.172 MB / 414.1 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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.3745, allocations: 1.016 MB / 0.5558 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.3757, allocations: 403.5 kB / 0.5562 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3757, allocations: 3.938 kB / 0.5562 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000921/0.3766, allocations: 271.7 kB / 0.5565 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3771, allocations: 94.97 kB / 0.5566 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.3823, allocations: 4.364 MB / 0.5608 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.3827, allocations: 0.8465 MB / 0.5616 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.383, allocations: 87.16 kB / 0.5617 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.3831, allocations: 115.4 kB / 0.5618 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3832, allocations: 3.938 kB / 0.5618 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.4149, allocations: 11.54 MB / 0.5731 GB, free: 5.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.07, allocations: 5.516 kB / 0.5731 GB, free: 5.562 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches