Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 179.9 kB / 16.72 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006943/0.000694, allocations: 85.41 kB / 271.2 MB, free: 8.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3127/0.3127, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003478, allocations: 16 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09504, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.001939/0.09701, allocations: 1.68 MB / 492.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.09931, allocations: 1.692 MB / 494.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.09951, allocations: 7.938 kB / 494.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.09981, allocations: 47.72 kB / 494.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.1003, allocations: 103.5 kB / 494.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.1013, allocations: 298.9 kB / 494.8 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.1019, allocations: 450 kB / 495.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1021, allocations: 48.7 kB / 495.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.1024, allocations: 131.3 kB / 495.4 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1027, allocations: 187.2 kB / 495.6 MB, free: 6.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.1027, allocations: 12 kB / 495.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008236/0.1036, allocations: 0.5147 MB / 496.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1037, allocations: 91.59 kB / 496.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1039, allocations: 176.7 kB / 496.3 MB, free: 5.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.1045, allocations: 423.1 kB / 496.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1045, allocations: 0 / 496.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1045, allocations: 4 kB / 496.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1045, allocations: 0 / 496.8 MB, free: 4.926 MB / 378.7 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.000917/0.1054, allocations: 0.6275 MB / 497.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1055, allocations: 8.031 kB / 497.4 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.1056, allocations: 90.69 kB / 497.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.1057, allocations: 36.47 kB / 497.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.106, allocations: 275.7 kB / 497.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.106, allocations: 33.36 kB / 497.8 MB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.1061, allocations: 40.31 kB / 497.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.1069, allocations: 0.557 MB / 498.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1069, allocations: 0 / 498.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.107, allocations: 15.98 kB / 498.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.107, allocations: 40.97 kB / 498.5 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.1079, allocations: 0.5815 MB / 499.1 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.1096, allocations: 1.179 MB / 0.4885 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.1102, allocations: 378.2 kB / 0.4889 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.1105, allocations: 144.9 kB / 0.489 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.1105, allocations: 7.984 kB / 0.489 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.1106, allocations: 34.56 kB / 0.4891 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1106, allocations: 0 / 0.4891 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009182/0.1115, allocations: 476.9 kB / 0.4895 GB, free: 256 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1115, allocations: 55.41 kB / 0.4896 GB, free: 188 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1696/0.2811, allocations: 447.3 kB / 0.49 GB, free: 43.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.2812, allocations: 28.3 kB / 0.49 GB, free: 43.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2813, allocations: 190.9 kB / 0.4902 GB, free: 43.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.2814, allocations: 71.14 kB / 0.4903 GB, free: 43.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.2814, allocations: 3.281 kB / 0.4903 GB, free: 43.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.2815, allocations: 352.6 kB / 0.4906 GB, free: 42.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.2817, allocations: 122.5 kB / 0.4907 GB, free: 42.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.282, allocations: 119.8 kB / 0.4908 GB, free: 42.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.2825, allocations: 290.3 kB / 0.4911 GB, free: 42.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2825, allocations: 0.6094 kB / 0.4911 GB, free: 42.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006161/0.2831, allocations: 349.8 kB / 0.4914 GB, free: 42.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2831, allocations: 4.5 kB / 0.4915 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2831, allocations: 3.719 kB / 0.4915 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2832, allocations: 1.969 kB / 0.4915 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/0.2839, allocations: 161.5 kB / 0.4916 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.2856, allocations: 5.518 MB / 0.497 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.2858, allocations: 53.77 kB / 0.4971 GB, free: 37.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.2859, allocations: 13.47 kB / 0.4971 GB, free: 37.61 MB / 378.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.2861, allocations: 188.9 kB / 0.4972 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.2861, allocations: 37.44 kB / 0.4973 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008788/0.287, allocations: 464.1 kB / 0.4977 GB, free: 37.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.287, allocations: 9.172 kB / 0.4977 GB, free: 37.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.287, allocations: 1.578 kB / 0.4977 GB, free: 37.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.287, allocations: 0.6094 kB / 0.4977 GB, free: 37.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.2875, allocations: 376.5 kB / 0.4981 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2875, allocations: 0 / 0.4981 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.2881, allocations: 157.9 kB / 0.4982 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2882, allocations: 1.188 kB / 0.4982 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.2882, allocations: 18.23 kB / 0.4983 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.2899, allocations: 5.519 MB / 0.5036 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2899, allocations: 1 kB / 0.5037 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.2906, allocations: 461.4 kB / 0.5041 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.2907, allocations: 119.1 kB / 0.5042 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.2907, allocations: 5.203 kB / 0.5042 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.2909, allocations: 13.2 kB / 0.5042 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.291, allocations: 19.39 kB / 0.5042 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.2911, allocations: 16.97 kB / 0.5043 GB, free: 31.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003204/0.2914, allocations: 334.8 kB / 0.5046 GB, free: 31.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2914, allocations: 0 / 0.5046 GB, free: 31.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.2919, allocations: 137.3 kB / 0.5047 GB, free: 31.57 MB / 378.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/0.2932, allocations: 1.102 MB / 0.5058 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.2945, allocations: 426.7 kB / 0.5062 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2945, allocations: 0 / 0.5062 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007934/0.2953, allocations: 278.4 kB / 0.5065 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.2958, allocations: 81.52 kB / 0.5065 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.2988, allocations: 2.719 MB / 0.5092 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.299, allocations: 0.8449 MB / 0.51 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.2992, allocations: 112.8 kB / 0.5101 GB, free: 29.38 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2992, allocations: 0 / 0.5101 GB, free: 29.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.844/5.143, allocations: 20.7 MB / 0.5303 GB, free: 25.26 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches