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.001185/0.001185, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 201.2 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.358/1.358, 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.2066/0.2066, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 79.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3376, 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_turbulent_KC): time 0.003055/0.3408, allocations: 2.024 MB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3422, allocations: 0.9399 MB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.3423, allocations: 1.812 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.3426, allocations: 62.22 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.343, allocations: 117.7 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3432, allocations: 96.31 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.3436, allocations: 384.8 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.695e-05/0.3437, allocations: 40.22 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.344, allocations: 167.9 kB / 0.5343 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.3442, allocations: 173.3 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.3442, allocations: 11 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.3445, allocations: 155.5 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3446, allocations: 91.94 kB / 0.5347 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.3448, allocations: 153.1 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.3454, allocations: 445.2 kB / 0.5352 GB, free: 9.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3454, allocations: 0 / 0.5352 GB, free: 9.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3454, allocations: 4 kB / 0.5352 GB, free: 9.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3454, allocations: 1.062 kB / 0.5352 GB, free: 9.953 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.001007/0.3464, allocations: 0.651 MB / 0.5359 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3465, allocations: 10.41 kB / 0.5359 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/0.3466, allocations: 86.55 kB / 0.536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.3467, allocations: 44.03 kB / 0.536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.347, allocations: 276.6 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.347, allocations: 32.2 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.3471, allocations: 36.28 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.3479, allocations: 0.5558 MB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3479, allocations: 0 / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.348, allocations: 19.17 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/0.348, allocations: 40.22 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009979/0.349, allocations: 0.5711 MB / 0.5375 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.3507, allocations: 1.176 MB / 0.5387 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.3513, allocations: 373.4 kB / 0.539 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.3516, allocations: 141.8 kB / 0.5391 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.3516, allocations: 6.797 kB / 0.5392 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3516, allocations: 40.22 kB / 0.5392 GB, free: 7.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.3517, allocations: 1.469 kB / 0.5392 GB, free: 7.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009153/0.3526, allocations: 457.9 kB / 0.5396 GB, free: 7.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3526, allocations: 58.05 kB / 0.5397 GB, free: 7.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.3531, allocations: 450.9 kB / 0.5401 GB, free: 6.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3531, allocations: 30.73 kB / 0.5401 GB, free: 6.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3533, allocations: 191 kB / 0.5403 GB, free: 6.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.3533, allocations: 81.34 kB / 0.5404 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.3534, allocations: 47.17 kB / 0.5404 GB, free: 6.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3536, allocations: 354.7 kB / 0.5408 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.3538, allocations: 122 kB / 0.5409 GB, free: 6.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.354, allocations: 117.6 kB / 0.541 GB, free: 6.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.3545, allocations: 269.9 kB / 0.5413 GB, free: 5.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3545, allocations: 0 / 0.5413 GB, free: 5.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005987/0.3551, allocations: 336.7 kB / 0.5416 GB, free: 5.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3552, allocations: 11.34 kB / 0.5416 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3552, allocations: 0 / 0.5416 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3552, allocations: 1.531 kB / 0.5416 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.356, allocations: 155 kB / 0.5418 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.3589, allocations: 5.519 MB / 0.5471 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.3592, allocations: 43.45 kB / 0.5472 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.3592, allocations: 15.67 kB / 0.5472 GB, free: 224 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.0002578/0.3595, allocations: 194.6 kB / 0.5474 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.3596, allocations: 33.72 kB / 0.5474 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/0.3605, allocations: 467.3 kB / 0.5479 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3605, allocations: 4 kB / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3605, allocations: 4 kB / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3605, allocations: 0 / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.361, allocations: 373.2 kB / 0.5482 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3611, allocations: 7.984 kB / 0.5482 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.3617, allocations: 151.9 kB / 0.5484 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3617, allocations: 0 / 0.5484 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.3618, allocations: 8 kB / 0.5484 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.3646, allocations: 5.516 MB / 0.5538 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3646, allocations: 3.938 kB / 0.5538 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.3653, allocations: 446.8 kB / 0.5542 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.3654, allocations: 120.6 kB / 0.5543 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.3655, allocations: 7.984 kB / 0.5543 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3657, allocations: 8.094 kB / 0.5543 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.3658, allocations: 27.91 kB / 0.5544 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3658, allocations: 15.98 kB / 0.5544 GB, free: 8.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003713/0.3662, allocations: 339 kB / 0.5547 GB, free: 8.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3662, allocations: 0 / 0.5547 GB, free: 8.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.3667, allocations: 99.94 kB / 0.5548 GB, free: 8.188 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.001075/0.3678, allocations: 1.012 MB / 0.5558 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.369, allocations: 399.5 kB / 0.5562 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.369, allocations: 0 / 0.5562 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007929/0.3698, allocations: 279.7 kB / 0.5564 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.3703, allocations: 89.39 kB / 0.5565 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.376, allocations: 4.358 MB / 0.5608 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.3766, allocations: 0.8503 MB / 0.5616 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.3769, allocations: 87.2 kB / 0.5617 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.3771, allocations: 115.4 kB / 0.5618 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of SimCode: time 1.974e-06/0.3771, allocations: 0 / 0.5618 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.4096, allocations: 11.79 MB / 0.5733 GB, free: 5.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 17.45 kB / 0.5733 GB, free: 5.336 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