Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.0008177/0.0008179, allocations: 178.5 kB / 16.72 MB, free: 4.961 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.268/1.268, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007094/0.0007094, allocations: 87.86 kB / 271.2 MB, free: 8.234 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.2959/0.2959, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003408, allocations: 16 kB / 432.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09731, allocations: 58.84 MB / 491 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002199/0.09955, allocations: 1.813 MB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1009, allocations: 0.8777 MB / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1011, allocations: 0 / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1014, allocations: 47.73 kB / 493.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.1017, allocations: 139.4 kB / 493.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.102, allocations: 75.8 kB / 493.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000481/0.1025, allocations: 0.5522 MB / 494.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.1026, allocations: 61.05 kB / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1028, allocations: 167.2 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.103, allocations: 230.9 kB / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.103, allocations: 16 kB / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.1033, allocations: 171.8 kB / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.1034, allocations: 111.4 kB / 495.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.1036, allocations: 208.5 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.1039, allocations: 379.1 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.104, allocations: 3.938 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.104, allocations: 0 / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.104, allocations: 4 kB / 495.8 MB, free: 5.664 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009285/0.1049, allocations: 0.6706 MB / 496.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.105, allocations: 8.031 kB / 496.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.1051, allocations: 106.7 kB / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.1051, allocations: 48.28 kB / 496.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1055, allocations: 311.8 kB / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1055, allocations: 40.98 kB / 496.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.1056, allocations: 48 kB / 497 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.1066, allocations: 0.707 MB / 497.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1066, allocations: 0 / 497.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.1066, allocations: 20 kB / 497.7 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/0.1067, allocations: 49.28 kB / 497.8 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1078, allocations: 0.7623 MB / 498.5 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.1096, allocations: 1.43 MB / 500 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.1103, allocations: 460.4 kB / 0.4887 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.1106, allocations: 165.2 kB / 0.4888 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.1107, allocations: 8.453 kB / 0.4888 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1107, allocations: 38.56 kB / 0.4889 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.462e-06/0.1107, allocations: 0 / 0.4889 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009964/0.1117, allocations: 0.5535 MB / 0.4894 GB, free: 84 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1118, allocations: 55.41 kB / 0.4895 GB, free: 16 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1641/0.2759, allocations: 0.5205 MB / 0.49 GB, free: 43.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.276, allocations: 34.08 kB / 0.49 GB, free: 43.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2761, allocations: 229.7 kB / 0.4902 GB, free: 43.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.2762, allocations: 107.1 kB / 0.4903 GB, free: 43.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.2762, allocations: 4.688 kB / 0.4903 GB, free: 43.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.2763, allocations: 354.5 kB / 0.4907 GB, free: 42.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.2766, allocations: 162.2 kB / 0.4908 GB, free: 42.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.2769, allocations: 251.3 kB / 0.4911 GB, free: 42.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.2775, allocations: 448.1 kB / 0.4915 GB, free: 42.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2775, allocations: 4.078 kB / 0.4915 GB, free: 42.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007787/0.2783, allocations: 0.5045 MB / 0.492 GB, free: 42.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2784, allocations: 6.781 kB / 0.492 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2784, allocations: 2.5 kB / 0.492 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2784, allocations: 4.812 kB / 0.492 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.2792, allocations: 211.6 kB / 0.4922 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.2813, allocations: 7.318 MB / 0.4994 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.2816, allocations: 64.25 kB / 0.4994 GB, free: 35.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.2816, allocations: 22.41 kB / 0.4994 GB, free: 35.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.2819, allocations: 227.3 kB / 0.4997 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.2819, allocations: 49.34 kB / 0.4997 GB, free: 35.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000992/0.2829, allocations: 0.5577 MB / 0.5003 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2829, allocations: 2.734 kB / 0.5003 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2829, allocations: 0 / 0.5003 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.283, allocations: 6.906 kB / 0.5003 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.2834, allocations: 431.4 kB / 0.5007 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2834, allocations: 0 / 0.5007 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.2841, allocations: 204.2 kB / 0.5009 GB, free: 35.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2842, allocations: 2.359 kB / 0.5009 GB, free: 35.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2842, allocations: 15.53 kB / 0.5009 GB, free: 35.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.2862, allocations: 7.317 MB / 0.508 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2862, allocations: 1.281 kB / 0.508 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.2869, allocations: 0.52 MB / 0.5085 GB, free: 27.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.287, allocations: 126.1 kB / 0.5087 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.287, allocations: 8.406 kB / 0.5087 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2872, allocations: 14.48 kB / 0.5087 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.2873, allocations: 28.81 kB / 0.5087 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.2874, allocations: 17.27 kB / 0.5087 GB, free: 27.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000321/0.2877, allocations: 384.7 kB / 0.5091 GB, free: 27.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2877, allocations: 0 / 0.5091 GB, free: 27.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.2881, allocations: 132.5 kB / 0.5092 GB, free: 27.7 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.0008808/0.289, allocations: 1.089 MB / 0.5103 GB, free: 27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2902, allocations: 0.5511 MB / 0.5108 GB, free: 26.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2902, allocations: 0 / 0.5108 GB, free: 26.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008576/0.2911, allocations: 349.5 kB / 0.5112 GB, free: 26.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.2916, allocations: 87.95 kB / 0.5112 GB, free: 26.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.295, allocations: 3.308 MB / 0.5145 GB, free: 26.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2952, allocations: 0.8902 MB / 0.5153 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.2954, allocations: 150.2 kB / 0.5155 GB, free: 25.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2954, allocations: 0 / 0.5155 GB, free: 25.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.53/6.825, allocations: 30.38 MB / 0.5452 GB, free: 15.59 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches