Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 210.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.88 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003628/0.3503, allocations: 1.959 MB / 0.5589 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3519, allocations: 0.8501 MB / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.352, allocations: 0 / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3522, allocations: 59.61 kB / 0.5598 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.3526, allocations: 131.4 kB / 0.5599 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.3529, allocations: 83.72 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.3534, allocations: 394.1 kB / 0.5604 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.3534, allocations: 16.92 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.3537, allocations: 155.2 kB / 0.5605 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.3539, allocations: 179.1 kB / 0.5607 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.354, allocations: 12 kB / 0.5607 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.3542, allocations: 75.89 kB / 0.5608 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3543, allocations: 99.52 kB / 0.5609 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3544, allocations: 119.2 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.3549, allocations: 431.8 kB / 0.5614 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.355, allocations: 0 / 0.5614 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.355, allocations: 0 / 0.5614 GB, free: 2.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.355, allocations: 0 / 0.5614 GB, free: 2.973 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.0009988/0.356, allocations: 0.5853 MB / 0.562 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.356, allocations: 12.03 kB / 0.562 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.984e-05/0.3561, allocations: 86.69 kB / 0.5621 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.3562, allocations: 48.66 kB / 0.5621 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3566, allocations: 229.3 kB / 0.5623 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3566, allocations: 29.36 kB / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.3567, allocations: 36.38 kB / 0.5624 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.3576, allocations: 0.5569 MB / 0.563 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3576, allocations: 0 / 0.563 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.3576, allocations: 15.98 kB / 0.563 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/0.3577, allocations: 40.97 kB / 0.563 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3587, allocations: 0.5737 MB / 0.5636 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.3606, allocations: 1.089 MB / 0.5646 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.3613, allocations: 364 kB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3616, allocations: 132.8 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.3616, allocations: 8 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3617, allocations: 38.56 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 3.657e-06/0.3617, allocations: 3.984 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001032/0.3627, allocations: 463.3 kB / 0.5656 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3628, allocations: 59.39 kB / 0.5657 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.3633, allocations: 449.6 kB / 0.5661 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.3633, allocations: 33.7 kB / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3635, allocations: 196.3 kB / 0.5663 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.3636, allocations: 75.31 kB / 0.5664 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.3636, allocations: 45.7 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3638, allocations: 354.7 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.3641, allocations: 123.9 kB / 0.5669 GB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3643, allocations: 119.8 kB / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.3649, allocations: 267.8 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3649, allocations: 0 / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006604/0.3655, allocations: 341.1 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3656, allocations: 7.938 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3656, allocations: 4 kB / 0.5676 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3656, allocations: 0 / 0.5676 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.3664, allocations: 167.9 kB / 0.5677 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.3699, allocations: 5.508 MB / 0.5731 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.3701, allocations: 51.58 kB / 0.5732 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.3702, allocations: 15.92 kB / 0.5732 GB, free: 6.523 MB / 414.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.0002699/0.3704, allocations: 189.7 kB / 0.5734 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.3705, allocations: 35.77 kB / 0.5734 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009397/0.3715, allocations: 471.7 kB / 0.5738 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3715, allocations: 0 / 0.5738 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3715, allocations: 0 / 0.5738 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3715, allocations: 0 / 0.5738 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.3719, allocations: 332.4 kB / 0.5742 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3719, allocations: 0 / 0.5742 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.3726, allocations: 155.9 kB / 0.5743 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3726, allocations: 4 kB / 0.5743 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3726, allocations: 11.98 kB / 0.5743 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/0.3762, allocations: 5.517 MB / 0.5797 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3762, allocations: 3.938 kB / 0.5797 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.377, allocations: 443 kB / 0.5801 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3771, allocations: 43.69 kB / 0.5802 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.3771, allocations: 8 kB / 0.5802 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3773, allocations: 8 kB / 0.5802 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.3774, allocations: 27.89 kB / 0.5802 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3775, allocations: 8 kB / 0.5802 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004204/0.3779, allocations: 335.2 kB / 0.5806 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 7.938 kB / 0.5806 GB, free: 14.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.3783, allocations: 107.8 kB / 0.5807 GB, free: 14.58 MB / 430.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.001207/0.3795, allocations: 1.011 MB / 0.5817 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3807, allocations: 403.5 kB / 0.582 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3807, allocations: 0 / 0.582 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008106/0.3815, allocations: 275.7 kB / 0.5823 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.382, allocations: 104.6 kB / 0.5824 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/0.388, allocations: 4.362 MB / 0.5867 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.3883, allocations: 240.4 kB / 0.5869 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.3885, allocations: 87.22 kB / 0.587 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3887, allocations: 111.4 kB / 0.5871 GB, free: 7.891 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3887, allocations: 3.938 kB / 0.5871 GB, free: 7.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.4322, allocations: 12.89 MB / 0.5997 GB, free: 11.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.28, allocations: 13.92 kB / 0.5997 GB, free: 11.31 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.528420174028724]