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_overall_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.001299/0.001299, allocations: 115.8 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.001479/0.001479, allocations: 214.6 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2376/0.2376, allocations: 44.91 MB / 358.8 MB, free: 6.281 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_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.002047/0.002047, allocations: 67.89 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 65.47 MB / 0.5571 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00355/0.3587, allocations: 2.035 MB / 0.559 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.3617, allocations: 1.901 MB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.3618, allocations: 4 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3621, allocations: 75.58 kB / 0.561 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.3625, allocations: 127.4 kB / 0.5611 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.3633, allocations: 354.6 kB / 0.5614 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.3638, allocations: 386.1 kB / 0.5618 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.3638, allocations: 12.94 kB / 0.5618 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.3641, allocations: 163.2 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.3643, allocations: 187.1 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.3644, allocations: 12 kB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008891/0.3652, allocations: 0.5577 MB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3654, allocations: 91.53 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.3655, allocations: 162.9 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008179/0.3663, allocations: 0.6399 MB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3663, allocations: 3.938 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3663, allocations: 0 / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3664, allocations: 0 / 0.5636 GB, free: 1.078 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.001162/0.3675, allocations: 0.6219 MB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3676, allocations: 8.031 kB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.53e-05/0.3676, allocations: 90.69 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.3677, allocations: 44.66 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.3682, allocations: 225.9 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3682, allocations: 29.36 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.3683, allocations: 32.42 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.3692, allocations: 0.5608 MB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3693, allocations: 4 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.3693, allocations: 19.98 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.3694, allocations: 40.97 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.3703, allocations: 0.5698 MB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.3721, allocations: 1.136 MB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.3728, allocations: 367.9 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.373, allocations: 136.9 kB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.3731, allocations: 11.95 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.3732, allocations: 38.56 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.223e-06/0.3732, allocations: 0 / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001044/0.3742, allocations: 463.5 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3743, allocations: 55.41 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.3748, allocations: 453.6 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3749, allocations: 33.7 kB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.375, allocations: 188.3 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.3751, allocations: 79.33 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.3752, allocations: 49.69 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3754, allocations: 358.7 kB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.3756, allocations: 119.8 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.3758, allocations: 115.9 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.3763, allocations: 263.4 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3763, allocations: 0 / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006342/0.377, allocations: 345.1 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.377, allocations: 15.92 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.377, allocations: 0 / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.377, allocations: 0 / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.3778, allocations: 159.9 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.3815, allocations: 5.524 MB / 0.5754 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3818, allocations: 47.64 kB / 0.5754 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.3818, allocations: 8 kB / 0.5754 GB, free: 4.535 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.0002572/0.3821, allocations: 193.6 kB / 0.5756 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.3821, allocations: 35.77 kB / 0.5756 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009766/0.3831, allocations: 463.8 kB / 0.5761 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3831, allocations: 4 kB / 0.5761 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3831, allocations: 3.938 kB / 0.5761 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3831, allocations: 3.984 kB / 0.5761 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.3836, allocations: 348.3 kB / 0.5764 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3836, allocations: 0 / 0.5764 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.3843, allocations: 151.9 kB / 0.5766 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3843, allocations: 0 / 0.5766 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3843, allocations: 15.98 kB / 0.5766 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.3879, allocations: 5.512 MB / 0.582 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3879, allocations: 3.938 kB / 0.582 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.3887, allocations: 447.3 kB / 0.5824 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.3888, allocations: 43.69 kB / 0.5824 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.3888, allocations: 8 kB / 0.5825 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.389, allocations: 11.98 kB / 0.5825 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.3891, allocations: 19.91 kB / 0.5825 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.3891, allocations: 15.98 kB / 0.5825 GB, free: 13.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003808/0.3895, allocations: 339.1 kB / 0.5828 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3895, allocations: 3.938 kB / 0.5828 GB, free: 12.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005069/0.39, allocations: 147.6 kB / 0.583 GB, free: 12.54 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.00129/0.3913, allocations: 1.077 MB / 0.584 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.3925, allocations: 399.5 kB / 0.5844 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3925, allocations: 0 / 0.5844 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.3933, allocations: 275 kB / 0.5847 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.3937, allocations: 93.03 kB / 0.5847 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.4002, allocations: 4.399 MB / 0.589 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.4009, allocations: 0.8503 MB / 0.5899 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.4012, allocations: 83.22 kB / 0.59 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4014, allocations: 107.4 kB / 0.5901 GB, free: 5.141 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4014, allocations: 0 / 0.5901 GB, free: 5.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/0.4442, allocations: 13.23 MB / 0.603 GB, free: 8.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.72, allocations: 3.859 kB / 0.603 GB, free: 8.133 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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: 17.089774071937427]