Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.12 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3423, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003941/0.3463, allocations: 2.116 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3486, allocations: 1.289 MB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3488, allocations: 2.75 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.3491, allocations: 66.72 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.3494, allocations: 104 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.35, allocations: 210.6 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.3506, allocations: 446.3 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.3507, allocations: 46.03 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.351, allocations: 158.2 kB / 0.5349 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.3512, allocations: 181.7 kB / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.3513, allocations: 12.34 kB / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.3518, allocations: 272.7 kB / 0.5353 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3519, allocations: 100.2 kB / 0.5354 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.3521, allocations: 167.2 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.3528, allocations: 0.5186 MB / 0.5361 GB, free: 9.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3528, allocations: 4.938 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3528, allocations: 0 / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3529, allocations: 0 / 0.5361 GB, free: 9.34 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001236/0.3541, allocations: 0.7144 MB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3542, allocations: 17.89 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.396e-05/0.3543, allocations: 78.84 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.3547, allocations: 82.17 kB / 0.5369 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.3551, allocations: 287.3 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.3551, allocations: 33.22 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.3552, allocations: 37 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.3562, allocations: 0.5786 MB / 0.5378 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3562, allocations: 1.062 kB / 0.5378 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.3563, allocations: 16 kB / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.3563, allocations: 22.55 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.3571, allocations: 428.6 kB / 0.5383 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.3591, allocations: 1.378 MB / 0.5396 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.3596, allocations: 275.2 kB / 0.5399 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.3599, allocations: 137.5 kB / 0.54 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.36, allocations: 12.36 kB / 0.54 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3601, allocations: 32.03 kB / 0.5401 GB, free: 6.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.264e-06/0.3601, allocations: 0 / 0.5401 GB, free: 6.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001179/0.3612, allocations: 463.3 kB / 0.5405 GB, free: 6.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.3613, allocations: 109 kB / 0.5406 GB, free: 6.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.3619, allocations: 0.4994 MB / 0.5411 GB, free: 5.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.362, allocations: 25.7 kB / 0.5411 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3622, allocations: 205.7 kB / 0.5413 GB, free: 5.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.3622, allocations: 63.5 kB / 0.5414 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3623, allocations: 54.11 kB / 0.5414 GB, free: 5.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3625, allocations: 350.1 kB / 0.5418 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.3628, allocations: 126.2 kB / 0.5419 GB, free: 5.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.3632, allocations: 176.3 kB / 0.5421 GB, free: 5.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.3639, allocations: 309.1 kB / 0.5424 GB, free: 4.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3639, allocations: 0 / 0.5424 GB, free: 4.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008337/0.3647, allocations: 377.4 kB / 0.5427 GB, free: 4.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.3648, allocations: 15.78 kB / 0.5427 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-05/0.3648, allocations: 37.64 kB / 0.5428 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3649, allocations: 1.969 kB / 0.5428 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3651, allocations: 30.28 kB / 0.5428 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3651, allocations: 2.281 kB / 0.5428 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.3654, allocations: 67.28 kB / 0.5429 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3655, allocations: 9.781 kB / 0.5429 GB, free: 4.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.3657, allocations: 187.4 kB / 0.543 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3658, allocations: 49.33 kB / 0.5431 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.3666, allocations: 377.3 kB / 0.5435 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3666, allocations: 4 kB / 0.5435 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3666, allocations: 4 kB / 0.5435 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3666, allocations: 3.984 kB / 0.5435 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.3673, allocations: 369.3 kB / 0.5438 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-05/0.3674, allocations: 28 kB / 0.5438 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.3675, allocations: 35.84 kB / 0.5439 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3675, allocations: 0 / 0.5439 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.3676, allocations: 15.98 kB / 0.5439 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3676, allocations: 0 / 0.5439 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3676, allocations: 3.938 kB / 0.5439 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.3684, allocations: 0.5718 MB / 0.5445 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.3685, allocations: 124.8 kB / 0.5446 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.3686, allocations: 0 / 0.5446 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.3689, allocations: 19.98 kB / 0.5446 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.369, allocations: 31.91 kB / 0.5446 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.369, allocations: 8 kB / 0.5446 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.3694, allocations: 375 kB / 0.545 GB, free: 2.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3694, allocations: 0 / 0.545 GB, free: 2.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005452/0.37, allocations: 119.8 kB / 0.5451 GB, free: 2.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/0.3713, allocations: 1.175 MB / 0.5463 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.3722, allocations: 0.511 MB / 0.5468 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3722, allocations: 4.312 kB / 0.5468 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.3726, allocations: 387.3 kB / 0.5471 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.3734, allocations: 115.1 kB / 0.5472 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.3802, allocations: 4.745 MB / 0.5519 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.3808, allocations: 0.8458 MB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.381, allocations: 59.25 kB / 0.5528 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.3812, allocations: 107.4 kB / 0.5529 GB, free: 10.22 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3812, allocations: 0 / 0.5529 GB, free: 10.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.4136, allocations: 11.52 MB / 0.5641 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.644, allocations: 15.28 kB / 0.5641 GB, free: 14.9 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches