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.001255/0.001255, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002289/0.002289, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.221/0.221, allocations: 46.93 MB / 360.9 MB, free: 4.289 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.002045/0.002045, allocations: 71.88 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 66.04 MB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003355/0.352, allocations: 2.041 MB / 0.5627 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3535, allocations: 0.9396 MB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.3536, allocations: 4 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.3538, allocations: 63.58 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.3542, allocations: 139.4 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.3545, allocations: 75.67 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.3549, allocations: 390.1 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.845e-05/0.355, allocations: 20.86 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.3553, allocations: 155.2 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.3556, allocations: 191.1 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.3556, allocations: 8 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.3559, allocations: 151.7 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.356, allocations: 99.47 kB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.3562, allocations: 154.9 kB / 0.565 GB, free: 20 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.3568, allocations: 432 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3568, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3568, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3568, allocations: 0 / 0.5654 GB, free: 15.59 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.00121/0.358, allocations: 0.591 MB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.3581, allocations: 8.031 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3582, allocations: 90.64 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.3582, allocations: 44.66 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3586, allocations: 225.9 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.3586, allocations: 25.38 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3587, allocations: 36.36 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.3596, allocations: 0.5647 MB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3596, allocations: 3.938 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.3596, allocations: 16 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.3597, allocations: 40.97 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3607, allocations: 0.5659 MB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.3626, allocations: 1.143 MB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.3632, allocations: 368.1 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.3635, allocations: 128.9 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.3635, allocations: 4 kB / 0.5691 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3636, allocations: 38.5 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.3636, allocations: 4 kB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.000951/0.3645, allocations: 471.1 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3646, allocations: 51.41 kB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.3651, allocations: 457.6 kB / 0.5701 GB, free: 10.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3651, allocations: 25.7 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3652, allocations: 196.3 kB / 0.5703 GB, free: 10.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.3653, allocations: 71.38 kB / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.3654, allocations: 61.69 kB / 0.5705 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3656, allocations: 350.7 kB / 0.5708 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.3658, allocations: 111.9 kB / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3661, allocations: 115.9 kB / 0.571 GB, free: 9.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.3666, allocations: 271.8 kB / 0.5713 GB, free: 9.395 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3666, allocations: 4 kB / 0.5713 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006226/0.3672, allocations: 345.1 kB / 0.5716 GB, free: 9.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3672, allocations: 7.938 kB / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3672, allocations: 0 / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3672, allocations: 0 / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.3679, allocations: 155.9 kB / 0.5718 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.3714, allocations: 5.516 MB / 0.5771 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.3717, allocations: 47.59 kB / 0.5772 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.3717, allocations: 15.98 kB / 0.5772 GB, free: 3.098 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.0002462/0.3719, allocations: 193.9 kB / 0.5774 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.372, allocations: 43.69 kB / 0.5774 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008997/0.3729, allocations: 451.6 kB / 0.5779 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3729, allocations: 4 kB / 0.5779 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3729, allocations: 0 / 0.5779 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3729, allocations: 0 / 0.5779 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.3734, allocations: 360.2 kB / 0.5782 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3734, allocations: 0 / 0.5782 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.374, allocations: 151.9 kB / 0.5784 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.374, allocations: 8 kB / 0.5784 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.3741, allocations: 11.98 kB / 0.5784 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.3775, allocations: 5.517 MB / 0.5838 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3775, allocations: 3.938 kB / 0.5838 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.3782, allocations: 451 kB / 0.5842 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.3783, allocations: 39.69 kB / 0.5842 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.3784, allocations: 8 kB / 0.5842 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3785, allocations: 7.984 kB / 0.5842 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.3786, allocations: 28 kB / 0.5843 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3786, allocations: 12 kB / 0.5843 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.379, allocations: 339.1 kB / 0.5846 GB, free: 11.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.379, allocations: 0 / 0.5846 GB, free: 11.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.3794, allocations: 99.83 kB / 0.5847 GB, free: 11.14 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.001234/0.3806, allocations: 1.011 MB / 0.5857 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3818, allocations: 399.5 kB / 0.5861 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3818, allocations: 0 / 0.5861 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007779/0.3825, allocations: 274.8 kB / 0.5863 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.383, allocations: 101 kB / 0.5864 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/0.3888, allocations: 4.37 MB / 0.5907 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3893, allocations: 0.8465 MB / 0.5915 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.3895, allocations: 91.2 kB / 0.5916 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.3897, allocations: 107.4 kB / 0.5917 GB, free: 3.832 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3897, allocations: 0 / 0.5917 GB, free: 3.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04528/0.435, allocations: 11.78 MB / 0.6032 GB, free: 8.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.07, allocations: 3.859 kB / 0.6032 GB, free: 8.273 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: 16.250190751161426]