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.001477/0.001476, allocations: 118.8 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 201.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, 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.2354/0.2354, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3518, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003248/0.3551, allocations: 2.029 MB / 0.5325 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3565, allocations: 0.9232 MB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.3566, allocations: 2.25 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3569, allocations: 70.66 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.3573, allocations: 121.2 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3575, allocations: 81.95 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.358, allocations: 396.7 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.3581, allocations: 40.23 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.3583, allocations: 159.6 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3586, allocations: 178 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.3586, allocations: 10.22 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.3589, allocations: 140.1 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.359, allocations: 96.03 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.3592, allocations: 148.5 kB / 0.5348 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.3597, allocations: 440.2 kB / 0.5352 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.3597, allocations: 0 / 0.5352 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3597, allocations: 1.438 kB / 0.5352 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3597, allocations: 0 / 0.5352 GB, free: 10 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.0009994/0.3608, allocations: 0.6514 MB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3608, allocations: 9.438 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.3609, allocations: 95.64 kB / 0.536 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.361, allocations: 42.84 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.3614, allocations: 276.5 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.3614, allocations: 28.78 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.3615, allocations: 35.95 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.3624, allocations: 0.5527 MB / 0.5369 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3624, allocations: 3.938 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.3624, allocations: 14.91 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.3625, allocations: 39.62 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009896/0.3635, allocations: 0.5716 MB / 0.5375 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.3654, allocations: 1.177 MB / 0.5386 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.366, allocations: 383.2 kB / 0.539 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.3663, allocations: 138.2 kB / 0.5391 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.3664, allocations: 6.891 kB / 0.5391 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3664, allocations: 36.06 kB / 0.5392 GB, free: 7.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.273e-06/0.3664, allocations: 1.469 kB / 0.5392 GB, free: 7.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001009/0.3674, allocations: 461.2 kB / 0.5396 GB, free: 7.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3675, allocations: 59.22 kB / 0.5397 GB, free: 7.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.3681, allocations: 457.6 kB / 0.5401 GB, free: 6.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3682, allocations: 26.89 kB / 0.5401 GB, free: 6.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.3684, allocations: 188.4 kB / 0.5403 GB, free: 6.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-05/0.3685, allocations: 79.78 kB / 0.5404 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3686, allocations: 51.81 kB / 0.5404 GB, free: 6.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3688, allocations: 354.6 kB / 0.5408 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.3691, allocations: 118.9 kB / 0.5409 GB, free: 6.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.3694, allocations: 125.5 kB / 0.541 GB, free: 6.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.37, allocations: 265.3 kB / 0.5413 GB, free: 5.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.37, allocations: 0 / 0.5413 GB, free: 5.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007086/0.3707, allocations: 344.2 kB / 0.5416 GB, free: 5.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3707, allocations: 9.219 kB / 0.5416 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3707, allocations: 4.969 kB / 0.5416 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3708, allocations: 1.062 kB / 0.5416 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.3716, allocations: 151 kB / 0.5417 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.375, allocations: 5.524 MB / 0.5471 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.3753, allocations: 44.55 kB / 0.5472 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.3753, allocations: 10.72 kB / 0.5472 GB, free: 256 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.0002798/0.3756, allocations: 190.7 kB / 0.5474 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.3757, allocations: 31.31 kB / 0.5474 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/0.3766, allocations: 463.3 kB / 0.5478 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3766, allocations: 4 kB / 0.5478 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3766, allocations: 0 / 0.5478 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3766, allocations: 3.984 kB / 0.5478 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.3771, allocations: 377.1 kB / 0.5482 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3771, allocations: 0 / 0.5482 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/0.3778, allocations: 155.9 kB / 0.5484 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3778, allocations: 0 / 0.5484 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3779, allocations: 11.98 kB / 0.5484 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/0.381, allocations: 5.512 MB / 0.5537 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.381, allocations: 3.938 kB / 0.5538 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.3817, allocations: 450.9 kB / 0.5542 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3818, allocations: 120.6 kB / 0.5543 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.3818, allocations: 7.938 kB / 0.5543 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.382, allocations: 7.984 kB / 0.5543 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.3821, allocations: 27.89 kB / 0.5543 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3822, allocations: 12 kB / 0.5544 GB, free: 8.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.3825, allocations: 335.1 kB / 0.5547 GB, free: 8.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3825, allocations: 0 / 0.5547 GB, free: 8.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.3829, allocations: 107.9 kB / 0.5548 GB, free: 8.234 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.001084/0.384, allocations: 1.008 MB / 0.5558 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3851, allocations: 403.5 kB / 0.5561 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3851, allocations: 0 / 0.5561 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.3859, allocations: 275.7 kB / 0.5564 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3864, allocations: 93.44 kB / 0.5565 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.3918, allocations: 4.351 MB / 0.5607 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.3923, allocations: 0.8504 MB / 0.5616 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.3925, allocations: 83.16 kB / 0.5617 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.3927, allocations: 115.4 kB / 0.5618 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3927, allocations: 0 / 0.5618 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.4244, allocations: 11.81 MB / 0.5733 GB, free: 5.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 4.75 kB / 0.5733 GB, free: 5.387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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