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_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.001889/0.001889, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001934/0.001934, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.441/1.441, 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.2327/0.2327, 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_overall_KC,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 75.88 kB / 0.4961 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 66.03 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003679/0.3538, allocations: 1.94 MB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.3568, allocations: 1.679 MB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3569, allocations: 4 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.3572, allocations: 71.61 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.3576, allocations: 127.4 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009313/0.3586, allocations: 342.4 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.3591, allocations: 394.1 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.3592, allocations: 16.92 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.3595, allocations: 151.2 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.3597, allocations: 191 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.3598, allocations: 12 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.3604, allocations: 311.5 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3605, allocations: 91.53 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.3607, allocations: 127.1 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008496/0.3615, allocations: 0.5892 MB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3615, allocations: 0 / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3615, allocations: 0 / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3615, allocations: 0 / 0.5665 GB, free: 14.16 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.001153/0.3627, allocations: 0.6297 MB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3627, allocations: 8.031 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3628, allocations: 82.7 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.3629, allocations: 44.66 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.3633, allocations: 223.5 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.3634, allocations: 33.36 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.3634, allocations: 36.36 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/0.3644, allocations: 0.5609 MB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3644, allocations: 0 / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.3644, allocations: 19.98 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/0.3645, allocations: 40.97 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3656, allocations: 0.5698 MB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.3674, allocations: 1.089 MB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.3681, allocations: 365.2 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.3684, allocations: 140.8 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.3685, allocations: 4 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.3685, allocations: 38.59 kB / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.3685, allocations: 0 / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001034/0.3695, allocations: 465 kB / 0.5707 GB, free: 9.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3696, allocations: 55.34 kB / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.3701, allocations: 453.6 kB / 0.5712 GB, free: 9.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3702, allocations: 25.7 kB / 0.5712 GB, free: 9.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3703, allocations: 196.4 kB / 0.5714 GB, free: 8.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/0.3704, allocations: 79.3 kB / 0.5715 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.3705, allocations: 57.69 kB / 0.5715 GB, free: 8.816 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.3707, allocations: 354.7 kB / 0.5719 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.371, allocations: 111.9 kB / 0.572 GB, free: 8.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.3712, allocations: 121.6 kB / 0.5721 GB, free: 8.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.3718, allocations: 266.2 kB / 0.5724 GB, free: 7.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3718, allocations: 4 kB / 0.5724 GB, free: 7.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006678/0.3724, allocations: 344.1 kB / 0.5727 GB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3724, allocations: 7.938 kB / 0.5727 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3724, allocations: 0 / 0.5727 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3725, allocations: 4 kB / 0.5727 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.3732, allocations: 159.9 kB / 0.5728 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.3769, allocations: 5.516 MB / 0.5782 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3771, allocations: 48.33 kB / 0.5783 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3772, allocations: 19.98 kB / 0.5783 GB, free: 1.668 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.0002672/0.3774, allocations: 193.6 kB / 0.5785 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.3775, allocations: 35.77 kB / 0.5785 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009439/0.3784, allocations: 460.5 kB / 0.579 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.3785, allocations: 4 kB / 0.579 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3785, allocations: 0 / 0.579 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3785, allocations: 0 / 0.579 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.379, allocations: 324.4 kB / 0.5793 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.379, allocations: 0 / 0.5793 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.3796, allocations: 167.9 kB / 0.5794 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3796, allocations: 0 / 0.5794 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.3797, allocations: 11.98 kB / 0.5794 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/0.3834, allocations: 5.512 MB / 0.5848 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3834, allocations: 3.938 kB / 0.5848 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.3842, allocations: 450 kB / 0.5853 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3843, allocations: 43.69 kB / 0.5853 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.3843, allocations: 4.375 kB / 0.5853 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.3845, allocations: 11.98 kB / 0.5853 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.3846, allocations: 27.84 kB / 0.5853 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.3847, allocations: 15.98 kB / 0.5854 GB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004256/0.3851, allocations: 335.1 kB / 0.5857 GB, free: 9.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3851, allocations: 0 / 0.5857 GB, free: 9.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.3856, allocations: 143.6 kB / 0.5858 GB, free: 9.691 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.001461/0.3871, allocations: 1.094 MB / 0.5869 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.3883, allocations: 407.5 kB / 0.5873 GB, free: 8.172 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.3883, allocations: 0 / 0.5873 GB, free: 8.172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000807/0.3891, allocations: 269 kB / 0.5875 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.3896, allocations: 93.31 kB / 0.5876 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/0.3956, allocations: 4.391 MB / 0.5919 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3958, allocations: 252.4 kB / 0.5921 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.3961, allocations: 83.22 kB / 0.5922 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.3963, allocations: 111.4 kB / 0.5923 GB, free: 2.891 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3963, allocations: 0 / 0.5923 GB, free: 2.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.4429, allocations: 14.35 MB / 0.6063 GB, free: 4.867 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.27, allocations: 7.797 kB / 0.6064 GB, free: 4.859 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 16.551220688968897]