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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.00127/0.001269, allocations: 175 kB / 16.72 MB, free: 5.082 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.348/1.348, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007188/0.0007188, allocations: 86.39 kB / 271.2 MB, free: 8.242 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.3169/0.3169, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003481, allocations: 16 kB / 432.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1083, allocations: 58.85 MB / 490.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002397/0.1108, allocations: 1.68 MB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1124, allocations: 0.8583 MB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1125, allocations: 0 / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1129, allocations: 47.67 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.1133, allocations: 127.5 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1136, allocations: 63.75 kB / 493.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.1142, allocations: 450 kB / 494.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1143, allocations: 48.7 kB / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.1146, allocations: 135.3 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.1149, allocations: 187.2 kB / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.1149, allocations: 15.94 kB / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.1152, allocations: 135.7 kB / 494.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1154, allocations: 91.58 kB / 494.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.1156, allocations: 176.7 kB / 494.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.116, allocations: 303.4 kB / 495.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.116, allocations: 0 / 495.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.116, allocations: 0 / 495.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.116, allocations: 0 / 495.2 MB, free: 6.199 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.00104/0.1171, allocations: 0.5928 MB / 495.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1171, allocations: 12.03 kB / 495.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.1172, allocations: 82.7 kB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.1173, allocations: 40.47 kB / 496 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.1176, allocations: 275.6 kB / 496.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.1177, allocations: 33.36 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.1177, allocations: 36.36 kB / 496.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.1186, allocations: 0.5686 MB / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1186, allocations: 0 / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.1186, allocations: 19.92 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/0.1187, allocations: 44.97 kB / 496.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.1196, allocations: 0.5737 MB / 497.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.1212, allocations: 1.171 MB / 498.7 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.1219, allocations: 386.2 kB / 499 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.1221, allocations: 140.8 kB / 499.2 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.1222, allocations: 8 kB / 499.2 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1222, allocations: 34.56 kB / 499.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.1222, allocations: 0 / 499.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009434/0.1232, allocations: 476.9 kB / 499.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1232, allocations: 55.39 kB / 499.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.1237, allocations: 449.6 kB / 0.4885 GB, free: 1.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1237, allocations: 29.7 kB / 0.4885 GB, free: 1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1238, allocations: 196.2 kB / 0.4887 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.1239, allocations: 75 kB / 0.4887 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.1239, allocations: 0 / 0.4887 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1241, allocations: 354.7 kB / 0.4891 GB, free: 384 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.1243, allocations: 119.9 kB / 0.4892 GB, free: 264 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.1245, allocations: 123.9 kB / 0.4893 GB, free: 140 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1988/0.3234, allocations: 272.6 kB / 0.4896 GB, free: 43.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3234, allocations: 0 / 0.4896 GB, free: 43.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007011/0.3241, allocations: 354.4 kB / 0.4899 GB, free: 43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3242, allocations: 8.594 kB / 0.4899 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3242, allocations: 0.8125 kB / 0.4899 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.3242, allocations: 2.422 kB / 0.4899 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.325, allocations: 157.9 kB / 0.4901 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.3269, allocations: 5.516 MB / 0.4955 GB, free: 37.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.3271, allocations: 53.67 kB / 0.4955 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.3272, allocations: 13.62 kB / 0.4955 GB, free: 37.75 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.0002163/0.3274, allocations: 193.4 kB / 0.4957 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.3275, allocations: 35.69 kB / 0.4957 GB, free: 37.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009204/0.3284, allocations: 467.3 kB / 0.4962 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3284, allocations: 3.594 kB / 0.4962 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3284, allocations: 0 / 0.4962 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3284, allocations: 2.734 kB / 0.4962 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.3289, allocations: 376.1 kB / 0.4966 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3289, allocations: 8.531 kB / 0.4966 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.3296, allocations: 155.4 kB / 0.4967 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3296, allocations: 4.938 kB / 0.4967 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.3296, allocations: 12.59 kB / 0.4967 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.3313, allocations: 5.523 MB / 0.5021 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3313, allocations: 0 / 0.5021 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.332, allocations: 451.9 kB / 0.5026 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.3321, allocations: 118.9 kB / 0.5027 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.3322, allocations: 4.656 kB / 0.5027 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3324, allocations: 12.95 kB / 0.5027 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3325, allocations: 27.83 kB / 0.5027 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.3326, allocations: 11.58 kB / 0.5027 GB, free: 31.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004209/0.333, allocations: 337 kB / 0.503 GB, free: 31.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.333, allocations: 1.156 kB / 0.503 GB, free: 31.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.3334, allocations: 103.9 kB / 0.5031 GB, free: 31.71 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.0009771/0.3344, allocations: 1.015 MB / 0.5041 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.3355, allocations: 412 kB / 0.5045 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3355, allocations: 1.5 kB / 0.5045 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.3364, allocations: 288.8 kB / 0.5048 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.3369, allocations: 97.08 kB / 0.5049 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.3402, allocations: 2.689 MB / 0.5075 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.3404, allocations: 0.8465 MB / 0.5083 GB, free: 29.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.3406, allocations: 120.2 kB / 0.5085 GB, free: 29.57 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3406, allocations: 0 / 0.5085 GB, free: 29.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.847/5.187, allocations: 20.02 MB / 0.528 GB, free: 25.96 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches