Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_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/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, 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.2155/0.2155, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3512, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003064/0.3543, allocations: 2.032 MB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3557, allocations: 0.9282 MB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3559, allocations: 1.812 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.3562, allocations: 67.75 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.3565, allocations: 121.3 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.3568, allocations: 91.36 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.3573, allocations: 393.6 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.3574, allocations: 42.84 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.3577, allocations: 163.9 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.358, allocations: 174.7 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.358, allocations: 9.625 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.3584, allocations: 156.3 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.3586, allocations: 100.7 kB / 0.5347 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.3588, allocations: 152.4 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.3595, allocations: 432.7 kB / 0.5352 GB, free: 9.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3596, allocations: 1.094 kB / 0.5352 GB, free: 9.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3596, allocations: 0 / 0.5352 GB, free: 9.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3596, allocations: 0 / 0.5352 GB, free: 9.945 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.001388/0.361, allocations: 0.659 MB / 0.5359 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.361, allocations: 10.22 kB / 0.5359 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.3612, allocations: 79.34 kB / 0.536 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.3613, allocations: 43.59 kB / 0.536 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.3618, allocations: 281.2 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.3618, allocations: 27.16 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.3619, allocations: 35.83 kB / 0.5363 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.3628, allocations: 0.5563 MB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3628, allocations: 5.031 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.3629, allocations: 19.25 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.3629, allocations: 43.56 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009481/0.3639, allocations: 0.5678 MB / 0.5375 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.3658, allocations: 1.168 MB / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.3665, allocations: 391.6 kB / 0.539 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.3668, allocations: 134.1 kB / 0.5391 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.3668, allocations: 11.45 kB / 0.5392 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3668, allocations: 33.34 kB / 0.5392 GB, free: 7.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.615e-06/0.3669, allocations: 0 / 0.5392 GB, free: 7.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009738/0.3678, allocations: 466.9 kB / 0.5396 GB, free: 7.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3679, allocations: 52.84 kB / 0.5397 GB, free: 7.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.3684, allocations: 455.4 kB / 0.5401 GB, free: 6.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3684, allocations: 30.83 kB / 0.5402 GB, free: 6.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3685, allocations: 183.4 kB / 0.5403 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.3686, allocations: 83.95 kB / 0.5404 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.3687, allocations: 48.55 kB / 0.5405 GB, free: 6.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3689, allocations: 361.7 kB / 0.5408 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.3691, allocations: 118.3 kB / 0.5409 GB, free: 6.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3694, allocations: 119.9 kB / 0.541 GB, free: 6.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.3699, allocations: 263.1 kB / 0.5413 GB, free: 5.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3699, allocations: 3.938 kB / 0.5413 GB, free: 5.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006249/0.3705, allocations: 344.6 kB / 0.5416 GB, free: 5.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3705, allocations: 10.59 kB / 0.5416 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3706, allocations: 1.094 kB / 0.5416 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3706, allocations: 1.094 kB / 0.5416 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/0.3713, allocations: 151.2 kB / 0.5418 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.3741, allocations: 5.523 MB / 0.5472 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.3744, allocations: 48.27 kB / 0.5472 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3744, allocations: 6.406 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.0002452/0.3747, allocations: 190.5 kB / 0.5474 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.3748, allocations: 38.59 kB / 0.5474 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.3756, allocations: 463.5 kB / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3756, allocations: 0 / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3757, allocations: 4 kB / 0.5479 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3757, allocations: 0 / 0.5479 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.3762, allocations: 373.2 kB / 0.5482 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3762, allocations: 0 / 0.5482 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.3768, allocations: 163.8 kB / 0.5484 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3768, allocations: 0 / 0.5484 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.3769, allocations: 8 kB / 0.5484 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.3796, allocations: 5.512 MB / 0.5538 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.3796, allocations: 3.938 kB / 0.5538 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.3804, allocations: 451 kB / 0.5542 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.3806, allocations: 120.6 kB / 0.5543 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.3807, allocations: 7.984 kB / 0.5543 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3809, allocations: 8 kB / 0.5543 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.381, allocations: 23.91 kB / 0.5544 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.381, allocations: 12 kB / 0.5544 GB, free: 8.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003438/0.3813, allocations: 343.1 kB / 0.5547 GB, free: 8.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3813, allocations: 0 / 0.5547 GB, free: 8.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.3817, allocations: 99.94 kB / 0.5548 GB, free: 8.18 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.001055/0.3828, allocations: 1.02 MB / 0.5558 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.384, allocations: 399.5 kB / 0.5562 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.384, allocations: 4 kB / 0.5562 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008212/0.3848, allocations: 271.7 kB / 0.5564 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.3853, allocations: 89.44 kB / 0.5565 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.3913, allocations: 4.347 MB / 0.5608 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.3918, allocations: 0.8504 MB / 0.5616 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.3921, allocations: 99.12 kB / 0.5617 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3923, allocations: 115.3 kB / 0.5618 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3923, allocations: 0 / 0.5618 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.4253, allocations: 11.79 MB / 0.5733 GB, free: 5.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 9.516 kB / 0.5733 GB, free: 5.324 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches