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.001493/0.001493, allocations: 122.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.001583/0.001584, 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.406/1.406, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 75.88 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3071, allocations: 62.46 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003464/0.3106, allocations: 2.018 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3122, allocations: 0.9392 MB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.3123, allocations: 1.938 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.3126, allocations: 67.34 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.313, allocations: 119.5 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.3132, allocations: 82.67 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.3136, allocations: 389.3 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.3137, allocations: 42.83 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.314, allocations: 157.3 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3142, allocations: 181.2 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.3142, allocations: 11 kB / 0.5346 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.3145, allocations: 142.9 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3147, allocations: 96.58 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.3148, allocations: 152.7 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.3154, allocations: 433.5 kB / 0.5353 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3154, allocations: 4 kB / 0.5353 GB, free: 9.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3154, allocations: 0 / 0.5353 GB, free: 9.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3154, allocations: 0 / 0.5353 GB, free: 9.891 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.001108/0.3165, allocations: 0.6634 MB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3166, allocations: 8.688 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.3167, allocations: 84.61 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.3168, allocations: 42.94 kB / 0.5361 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.3172, allocations: 281.9 kB / 0.5364 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3172, allocations: 27.66 kB / 0.5364 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.3173, allocations: 36.84 kB / 0.5365 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.3181, allocations: 0.5594 MB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3181, allocations: 0 / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.3182, allocations: 15.34 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/0.3183, allocations: 44.62 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3193, allocations: 0.567 MB / 0.5376 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.3211, allocations: 1.178 MB / 0.5388 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.3219, allocations: 375.6 kB / 0.5391 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.3221, allocations: 139.1 kB / 0.5392 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.3222, allocations: 6.578 kB / 0.5393 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3222, allocations: 37.28 kB / 0.5393 GB, free: 7.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 5.881e-06/0.3222, allocations: 3.984 kB / 0.5393 GB, free: 7.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.3233, allocations: 470.7 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3234, allocations: 58.34 kB / 0.5398 GB, free: 6.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.3239, allocations: 446.1 kB / 0.5402 GB, free: 6.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.3239, allocations: 30.83 kB / 0.5403 GB, free: 6.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.3241, allocations: 199.9 kB / 0.5404 GB, free: 6.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/0.3242, allocations: 80.39 kB / 0.5405 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.3243, allocations: 55.84 kB / 0.5406 GB, free: 6.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3245, allocations: 350.9 kB / 0.5409 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.3247, allocations: 114.2 kB / 0.541 GB, free: 6.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.325, allocations: 119.7 kB / 0.5411 GB, free: 5.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.3255, allocations: 270.1 kB / 0.5414 GB, free: 5.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3255, allocations: 0 / 0.5414 GB, free: 5.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006485/0.3262, allocations: 342.2 kB / 0.5417 GB, free: 5.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3262, allocations: 13.5 kB / 0.5417 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3262, allocations: 0 / 0.5417 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3262, allocations: 1.156 kB / 0.5417 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.327, allocations: 150.8 kB / 0.5419 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.3304, allocations: 5.523 MB / 0.5473 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.3307, allocations: 52.11 kB / 0.5473 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.3307, allocations: 15.05 kB / 0.5473 GB, free: 116 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.0002643/0.331, allocations: 191 kB / 0.5475 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.3311, allocations: 39.75 kB / 0.5476 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.332, allocations: 455.5 kB / 0.548 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.332, allocations: 0 / 0.548 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.332, allocations: 0 / 0.548 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.332, allocations: 0 / 0.548 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.3325, allocations: 389.2 kB / 0.5484 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3325, allocations: 4 kB / 0.5484 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/0.3332, allocations: 151.9 kB / 0.5485 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3332, allocations: 0 / 0.5485 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.3333, allocations: 11.98 kB / 0.5485 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/0.3368, allocations: 5.516 MB / 0.5539 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3368, allocations: 3.938 kB / 0.5539 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.3376, allocations: 447 kB / 0.5543 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3378, allocations: 120.8 kB / 0.5545 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.3378, allocations: 0 / 0.5545 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.338, allocations: 16.03 kB / 0.5545 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.3381, allocations: 27.84 kB / 0.5545 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.3382, allocations: 19.92 kB / 0.5545 GB, free: 8.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004098/0.3386, allocations: 335.1 kB / 0.5548 GB, free: 8.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3386, allocations: 0 / 0.5548 GB, free: 8.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.339, allocations: 103.8 kB / 0.5549 GB, free: 8.047 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.001236/0.3403, allocations: 1.012 MB / 0.5559 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.3415, allocations: 395.6 kB / 0.5563 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3415, allocations: 3.938 kB / 0.5563 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008348/0.3423, allocations: 271.7 kB / 0.5566 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.3429, allocations: 89.44 kB / 0.5566 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.3489, allocations: 4.368 MB / 0.5609 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.3494, allocations: 0.8581 MB / 0.5617 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.3497, allocations: 79.22 kB / 0.5618 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3498, allocations: 111.4 kB / 0.5619 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3498, allocations: 0 / 0.5619 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.3866, allocations: 11.55 MB / 0.5732 GB, free: 5.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.52, allocations: 13.56 kB / 0.5732 GB, free: 5.438 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