Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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.001584/0.001584, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00137/0.00137, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.449/1.449, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 46.95 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003375/0.3307, allocations: 1.956 MB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3323, allocations: 0.854 MB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.3324, allocations: 3.938 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3327, allocations: 63.66 kB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.333, allocations: 127.4 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.3333, allocations: 87.66 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.3337, allocations: 390.1 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.3338, allocations: 12.94 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.334, allocations: 163.2 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.3343, allocations: 187.1 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.3343, allocations: 12 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.3345, allocations: 83.83 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3346, allocations: 99.52 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3347, allocations: 123.1 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.3352, allocations: 419.9 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3352, allocations: 4 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3352, allocations: 0 / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3352, allocations: 4 kB / 0.5651 GB, free: 15.63 MB / 414.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.001035/0.3363, allocations: 0.5832 MB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3363, allocations: 8.031 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.988e-05/0.3364, allocations: 86.69 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.3365, allocations: 48.59 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.3369, allocations: 227.5 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3369, allocations: 25.36 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.337, allocations: 44.36 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008814/0.3378, allocations: 0.5569 MB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3379, allocations: 0 / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.3379, allocations: 19.98 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.3379, allocations: 40.97 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009733/0.3389, allocations: 0.5737 MB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.3407, allocations: 1.089 MB / 0.5683 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.3414, allocations: 370.2 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3416, allocations: 128.9 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.3417, allocations: 11.98 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3417, allocations: 30.56 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.3417, allocations: 0 / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009745/0.3427, allocations: 466.7 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3427, allocations: 59.41 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.3432, allocations: 453.6 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.3433, allocations: 29.7 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3434, allocations: 192.4 kB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.3435, allocations: 75.31 kB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3436, allocations: 49.7 kB / 0.5701 GB, free: 10.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3438, allocations: 354.7 kB / 0.5704 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.344, allocations: 115.9 kB / 0.5705 GB, free: 9.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.3443, allocations: 119.9 kB / 0.5706 GB, free: 9.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.3448, allocations: 262.7 kB / 0.5709 GB, free: 9.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3448, allocations: 0 / 0.5709 GB, free: 9.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006405/0.3454, allocations: 352.2 kB / 0.5712 GB, free: 9.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3455, allocations: 7.938 kB / 0.5712 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3455, allocations: 4 kB / 0.5712 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3455, allocations: 0 / 0.5712 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.3462, allocations: 159.9 kB / 0.5714 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.3498, allocations: 5.52 MB / 0.5768 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.35, allocations: 47.64 kB / 0.5768 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.3501, allocations: 8 kB / 0.5768 GB, free: 3.184 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.0002399/0.3503, allocations: 193.7 kB / 0.577 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.3504, allocations: 35.77 kB / 0.5771 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.3513, allocations: 456.5 kB / 0.5775 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3513, allocations: 7.984 kB / 0.5775 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3513, allocations: 8.094 kB / 0.5775 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3513, allocations: 0 / 0.5775 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.3519, allocations: 328.4 kB / 0.5778 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3519, allocations: 4 kB / 0.5778 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.3526, allocations: 159.9 kB / 0.578 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3526, allocations: 3.938 kB / 0.578 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.3526, allocations: 8 kB / 0.578 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/0.3563, allocations: 5.516 MB / 0.5834 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3563, allocations: 4.594 kB / 0.5834 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/0.3571, allocations: 454.3 kB / 0.5838 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3572, allocations: 43.69 kB / 0.5838 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3572, allocations: 4 kB / 0.5839 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3575, allocations: 8 kB / 0.5839 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.3575, allocations: 27.89 kB / 0.5839 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.3576, allocations: 8 kB / 0.5839 GB, free: 11.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004361/0.358, allocations: 335.1 kB / 0.5842 GB, free: 11.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.358, allocations: 0 / 0.5842 GB, free: 11.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.3585, allocations: 107.8 kB / 0.5843 GB, free: 11.24 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.001298/0.3598, allocations: 1.013 MB / 0.5853 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.3611, allocations: 403.5 kB / 0.5857 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3611, allocations: 0 / 0.5857 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.3619, allocations: 271.7 kB / 0.5859 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.3624, allocations: 104.6 kB / 0.586 GB, free: 9.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.3682, allocations: 4.364 MB / 0.5903 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3685, allocations: 248.4 kB / 0.5905 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.3687, allocations: 79.22 kB / 0.5906 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3688, allocations: 119.4 kB / 0.5907 GB, free: 4.543 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3688, allocations: 0 / 0.5907 GB, free: 4.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.4101, allocations: 12.95 MB / 0.6034 GB, free: 7.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.54, allocations: 21.8 kB / 0.6034 GB, free: 7.891 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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: 15.734977753018029]