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.001323/0.001323, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001456/0.001456, allocations: 210.7 kB / 23.73 MB, free: 4.16 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2171/0.2171, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.003302/0.003302, allocations: 63.91 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4422, allocations: 66.04 MB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.005439/0.4476, allocations: 1.957 MB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.4501, allocations: 0.854 MB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.4503, allocations: 4 kB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.4507, allocations: 51.67 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006215/0.4513, allocations: 131.4 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.4518, allocations: 87.66 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007653/0.4525, allocations: 382.2 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.4526, allocations: 16.92 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.4531, allocations: 159.2 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.4536, allocations: 195 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.4536, allocations: 8 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.454, allocations: 71.91 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.4542, allocations: 95.53 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.4544, allocations: 131.1 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.4553, allocations: 416 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4553, allocations: 4 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4553, allocations: 0 / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.4553, allocations: 0 / 0.565 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.001585/0.4569, allocations: 0.591 MB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.457, allocations: 12.03 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.4571, allocations: 82.7 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.4573, allocations: 44.66 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.4578, allocations: 231.5 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.4579, allocations: 33.38 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.458, allocations: 48.23 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4594, allocations: 0.5531 MB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4595, allocations: 0 / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.4595, allocations: 12 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.439e-05/0.4596, allocations: 40.97 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.4614, allocations: 0.5737 MB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.4647, allocations: 1.093 MB / 0.5683 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.4658, allocations: 358.2 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.4662, allocations: 136.8 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.4663, allocations: 4 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.4663, allocations: 34.56 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.4663, allocations: 4 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001605/0.4679, allocations: 470.2 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.468, allocations: 51.41 kB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/0.4689, allocations: 453.6 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.469, allocations: 29.7 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.4692, allocations: 192.3 kB / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4693, allocations: 75.38 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.4695, allocations: 53.69 kB / 0.57 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.4697, allocations: 354.8 kB / 0.5704 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.4701, allocations: 115.9 kB / 0.5705 GB, free: 9.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.4705, allocations: 121.9 kB / 0.5706 GB, free: 9.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.4714, allocations: 267.4 kB / 0.5709 GB, free: 9.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4714, allocations: 0 / 0.5709 GB, free: 9.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001127/0.4725, allocations: 345.1 kB / 0.5712 GB, free: 9.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.4725, allocations: 7.938 kB / 0.5712 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4725, allocations: 0 / 0.5712 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.4726, allocations: 4 kB / 0.5712 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4737, allocations: 159.9 kB / 0.5714 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.4788, allocations: 5.512 MB / 0.5767 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.4792, allocations: 55.58 kB / 0.5768 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.4792, allocations: 7.984 kB / 0.5768 GB, free: 3.191 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.0004074/0.4796, allocations: 194.1 kB / 0.577 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4797, allocations: 39.77 kB / 0.577 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.4812, allocations: 460.5 kB / 0.5775 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4812, allocations: 4 kB / 0.5775 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4812, allocations: 3.938 kB / 0.5775 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4812, allocations: 0 / 0.5775 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.4819, allocations: 324.4 kB / 0.5778 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.482, allocations: 0 / 0.5778 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.483, allocations: 163.9 kB / 0.5779 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.483, allocations: 0 / 0.5779 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.483, allocations: 15.98 kB / 0.578 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.4878, allocations: 5.513 MB / 0.5833 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4878, allocations: 3.938 kB / 0.5833 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.4889, allocations: 449.9 kB / 0.5838 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.4891, allocations: 47.69 kB / 0.5838 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.4892, allocations: 4 kB / 0.5838 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.4895, allocations: 7.984 kB / 0.5838 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4896, allocations: 28.08 kB / 0.5839 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.4896, allocations: 16 kB / 0.5839 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.4903, allocations: 339.1 kB / 0.5842 GB, free: 11.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4903, allocations: 0 / 0.5842 GB, free: 11.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.4909, allocations: 103.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.001752/0.4927, allocations: 1.009 MB / 0.5853 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.4945, allocations: 405 kB / 0.5857 GB, free: 9.812 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4945, allocations: 0 / 0.5857 GB, free: 9.812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.4958, allocations: 279.7 kB / 0.5859 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.4966, allocations: 85.33 kB / 0.586 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009567/0.5062, allocations: 4.379 MB / 0.5903 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5066, allocations: 244.4 kB / 0.5905 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003864/0.507, allocations: 91.2 kB / 0.5906 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.5072, allocations: 111.4 kB / 0.5907 GB, free: 4.543 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5072, allocations: 0 / 0.5907 GB, free: 4.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05962/0.5669, allocations: 12.9 MB / 0.6033 GB, free: 7.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.27, allocations: 7.844 kB / 0.6033 GB, free: 7.969 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.439027708023787]