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.001658/0.001658, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 198 kB / 18.73 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.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 75.88 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3631, allocations: 62.42 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.003261/0.3665, allocations: 2.131 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3683, allocations: 1.288 MB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.3685, allocations: 1.781 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.3687, allocations: 66.56 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.369, allocations: 99.3 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.3696, allocations: 215.1 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.37, allocations: 438.4 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.3701, allocations: 45.59 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.3704, allocations: 162.6 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.3706, allocations: 185.8 kB / 0.535 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.3707, allocations: 13.22 kB / 0.535 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.3711, allocations: 272.4 kB / 0.5353 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.3713, allocations: 94.56 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.3715, allocations: 166.9 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00068/0.3721, allocations: 0.52 MB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3722, allocations: 0 / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3722, allocations: 0 / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3722, allocations: 1.219 kB / 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.001302/0.3735, allocations: 0.7142 MB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3735, allocations: 10.34 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.3737, allocations: 86.86 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.3741, allocations: 78.44 kB / 0.5369 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3745, allocations: 290.1 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.3745, allocations: 28.62 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.3746, allocations: 41.91 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/0.3755, allocations: 0.5825 MB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3756, allocations: 5.156 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.3756, allocations: 15.31 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.3757, allocations: 18.56 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000815/0.3765, allocations: 433.7 kB / 0.5383 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.3784, allocations: 1.375 MB / 0.5396 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.3789, allocations: 271.5 kB / 0.5399 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.3793, allocations: 136 kB / 0.54 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.3793, allocations: 8.391 kB / 0.54 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3794, allocations: 40.72 kB / 0.5401 GB, free: 6.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.3794, allocations: 0 / 0.5401 GB, free: 6.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001254/0.3806, allocations: 461 kB / 0.5405 GB, free: 6.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3807, allocations: 104.7 kB / 0.5406 GB, free: 6.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.3813, allocations: 0.5036 MB / 0.5411 GB, free: 5.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3814, allocations: 25.7 kB / 0.5411 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3815, allocations: 206.6 kB / 0.5413 GB, free: 5.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.3816, allocations: 62.47 kB / 0.5414 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3817, allocations: 50.14 kB / 0.5414 GB, free: 5.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3819, allocations: 358.6 kB / 0.5418 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.3823, allocations: 120.8 kB / 0.5419 GB, free: 5.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.3827, allocations: 177.1 kB / 0.5421 GB, free: 5.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.3834, allocations: 307.7 kB / 0.5423 GB, free: 4.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3834, allocations: 5.062 kB / 0.5424 GB, free: 4.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008739/0.3843, allocations: 379.2 kB / 0.5427 GB, free: 4.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3843, allocations: 9.188 kB / 0.5427 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-05/0.3844, allocations: 38.19 kB / 0.5428 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3844, allocations: 6.297 kB / 0.5428 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3846, allocations: 30.16 kB / 0.5428 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3846, allocations: 6.156 kB / 0.5428 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.3849, allocations: 59.45 kB / 0.5429 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.3849, allocations: 13.58 kB / 0.5429 GB, free: 4.613 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.0002199/0.3852, allocations: 184 kB / 0.543 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3853, allocations: 48.8 kB / 0.5431 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/0.386, allocations: 384.1 kB / 0.5435 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.386, allocations: 7.984 kB / 0.5435 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3861, allocations: 0 / 0.5435 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3861, allocations: 0 / 0.5435 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.3866, allocations: 361.3 kB / 0.5438 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-05/0.3866, allocations: 31.98 kB / 0.5438 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3868, allocations: 31.91 kB / 0.5439 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3868, allocations: 4 kB / 0.5439 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3868, allocations: 4 kB / 0.5439 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3868, allocations: 0 / 0.5439 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3868, allocations: 4 kB / 0.5439 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.3877, allocations: 0.5859 MB / 0.5445 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3878, allocations: 120.8 kB / 0.5446 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.3879, allocations: 4 kB / 0.5446 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.3882, allocations: 19.97 kB / 0.5446 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.3883, allocations: 19.98 kB / 0.5446 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3883, allocations: 8 kB / 0.5446 GB, free: 2.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003762/0.3887, allocations: 379 kB / 0.545 GB, free: 2.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3887, allocations: 0 / 0.545 GB, free: 2.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005139/0.3892, allocations: 123.7 kB / 0.5451 GB, free: 2.434 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.001278/0.3905, allocations: 1.183 MB / 0.5463 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008618/0.3913, allocations: 0.5149 MB / 0.5468 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3914, allocations: 4 kB / 0.5468 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.3918, allocations: 391.6 kB / 0.5471 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.3925, allocations: 96.55 kB / 0.5472 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.3987, allocations: 4.753 MB / 0.5519 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.3992, allocations: 0.8419 MB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3993, allocations: 55.27 kB / 0.5527 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3995, allocations: 111.4 kB / 0.5529 GB, free: 10.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3995, allocations: 4 kB / 0.5529 GB, free: 10.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.4306, allocations: 11.51 MB / 0.5641 GB, free: 14.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.574, allocations: 15.28 kB / 0.5641 GB, free: 14.91 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