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_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.002027/0.002027, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001466/0.001466, allocations: 204.2 kB / 23.73 MB, free: 4.379 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.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2324/0.2324, allocations: 46.95 MB / 360.9 MB, free: 4.023 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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.88 kB / 0.4961 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3284, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003452/0.3319, allocations: 1.974 MB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3334, allocations: 0.854 MB / 0.5634 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.3335, allocations: 0 / 0.5634 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3337, allocations: 55.66 kB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.3341, allocations: 131.4 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.3344, allocations: 87.66 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.3349, allocations: 386.1 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.447e-05/0.3349, allocations: 16.94 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.3352, allocations: 159.2 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.3355, allocations: 187.1 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.3355, allocations: 12 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.3357, allocations: 83.83 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3359, allocations: 95.47 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.336, allocations: 127.2 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.3366, allocations: 415.9 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3366, allocations: 3.984 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3366, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3366, allocations: 0 / 0.5651 GB, free: 15.64 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.001167/0.3378, allocations: 0.5871 MB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3378, allocations: 12.03 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.3379, allocations: 90.64 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.338, allocations: 44.66 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3384, allocations: 223.5 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.3385, allocations: 29.38 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.3386, allocations: 40.36 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/0.3394, allocations: 0.5608 MB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3395, allocations: 0 / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3395, allocations: 8 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/0.3395, allocations: 44.97 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009936/0.3405, allocations: 0.5698 MB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.3424, allocations: 1.093 MB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.3431, allocations: 369 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.3434, allocations: 132.9 kB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3434, allocations: 3.984 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3435, allocations: 38.56 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3435, allocations: 4 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001004/0.3445, allocations: 461 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.3445, allocations: 55.41 kB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.345, allocations: 453.6 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.3451, allocations: 33.7 kB / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3452, allocations: 192.3 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.3453, allocations: 75.38 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.3454, allocations: 49.7 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3456, allocations: 358.7 kB / 0.5704 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3458, allocations: 111.9 kB / 0.5705 GB, free: 9.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3461, allocations: 121.4 kB / 0.5706 GB, free: 9.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.3466, allocations: 262.7 kB / 0.5709 GB, free: 9.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3466, allocations: 0 / 0.5709 GB, free: 9.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006578/0.3473, allocations: 352.1 kB / 0.5712 GB, free: 9.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3473, allocations: 11.94 kB / 0.5712 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3473, allocations: 3.984 kB / 0.5712 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3473, allocations: 0 / 0.5712 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/0.3481, allocations: 159.9 kB / 0.5714 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.3517, allocations: 5.516 MB / 0.5768 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.3519, allocations: 51.58 kB / 0.5768 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.352, allocations: 12 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.0002811/0.3522, allocations: 193.6 kB / 0.577 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.3523, allocations: 40.2 kB / 0.577 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.3532, allocations: 460.5 kB / 0.5775 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3532, allocations: 0 / 0.5775 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3532, allocations: 3.984 kB / 0.5775 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3532, allocations: 4 kB / 0.5775 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.3536, allocations: 324.4 kB / 0.5778 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3536, allocations: 0 / 0.5778 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.3543, allocations: 163.8 kB / 0.578 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3543, allocations: 4 kB / 0.578 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.3544, allocations: 8 kB / 0.578 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.358, allocations: 5.516 MB / 0.5834 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.358, allocations: 3.969 kB / 0.5834 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.3588, allocations: 450.9 kB / 0.5838 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.3589, allocations: 39.69 kB / 0.5838 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.359, allocations: 8 kB / 0.5838 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.3592, allocations: 4 kB / 0.5838 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.3593, allocations: 27.89 kB / 0.5839 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.3593, allocations: 12.19 kB / 0.5839 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.3597, allocations: 339.1 kB / 0.5842 GB, free: 11.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3597, allocations: 0 / 0.5842 GB, free: 11.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00038/0.36, allocations: 103.8 kB / 0.5843 GB, free: 11.25 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.001185/0.3612, allocations: 1.012 MB / 0.5853 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3624, allocations: 403.5 kB / 0.5857 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3624, allocations: 0 / 0.5857 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.3632, allocations: 275.7 kB / 0.5859 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3637, allocations: 89.36 kB / 0.586 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.3694, allocations: 4.376 MB / 0.5903 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3696, allocations: 244.4 kB / 0.5905 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.3699, allocations: 87.22 kB / 0.5906 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.37, allocations: 107.4 kB / 0.5907 GB, free: 4.555 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.37, allocations: 0 / 0.5907 GB, free: 4.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.4109, allocations: 12.98 MB / 0.6034 GB, free: 7.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.64, allocations: 10.62 kB / 0.6034 GB, free: 7.887 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.860607428010553]