Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001343, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3197, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002541/0.3222, allocations: 1.947 MB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3236, allocations: 1.125 MB / 0.5214 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.3237, allocations: 1.312 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.324, allocations: 74.73 kB / 0.5215 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3242, allocations: 97.89 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.3246, allocations: 158.3 kB / 0.5218 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.325, allocations: 472.9 kB / 0.5222 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.3251, allocations: 55.14 kB / 0.5223 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3253, allocations: 167.3 kB / 0.5224 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.3255, allocations: 189.2 kB / 0.5226 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.3255, allocations: 14.09 kB / 0.5226 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.3259, allocations: 270.6 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3261, allocations: 99.72 kB / 0.523 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3262, allocations: 183.8 kB / 0.5232 GB, free: 408 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.3269, allocations: 0.5594 MB / 0.5237 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3269, allocations: 5.531 kB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3269, allocations: 0.7031 kB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3269, allocations: 0 / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009805/0.3279, allocations: 0.7285 MB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.328, allocations: 8.656 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.3281, allocations: 101.6 kB / 0.5245 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.3282, allocations: 47.16 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3285, allocations: 290.5 kB / 0.5248 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.3286, allocations: 38.44 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.3286, allocations: 57.44 kB / 0.5249 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.3295, allocations: 0.6319 MB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3295, allocations: 4 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.3296, allocations: 22.02 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.3296, allocations: 32.84 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.3304, allocations: 0.5052 MB / 0.5261 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.3326, allocations: 1.419 MB / 0.5275 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.3332, allocations: 441.8 kB / 0.5279 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.3335, allocations: 141.4 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.3335, allocations: 18.94 kB / 0.5281 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3336, allocations: 39.41 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.3336, allocations: 0 / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008939/0.3345, allocations: 0.4964 MB / 0.5286 GB, free: 13.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3345, allocations: 56.72 kB / 0.5286 GB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.3351, allocations: 0.5525 MB / 0.5292 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3351, allocations: 26.86 kB / 0.5292 GB, free: 13.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3353, allocations: 220.7 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.3354, allocations: 86.09 kB / 0.5295 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3355, allocations: 93.08 kB / 0.5296 GB, free: 12.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3357, allocations: 365 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.3359, allocations: 159.7 kB / 0.5301 GB, free: 12.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.3362, allocations: 258.7 kB / 0.5303 GB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/0.3399, allocations: 1.052 MB / 0.5314 GB, free: 11.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3399, allocations: 1.094 kB / 0.5314 GB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007764/0.3407, allocations: 0.5003 MB / 0.5318 GB, free: 11.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3407, allocations: 6.875 kB / 0.5319 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.621e-05/0.3408, allocations: 41.83 kB / 0.5319 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3408, allocations: 5.75 kB / 0.5319 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.341, allocations: 34.98 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.341, allocations: 9.172 kB / 0.5319 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.3413, allocations: 56.19 kB / 0.532 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.3413, allocations: 25.47 kB / 0.532 GB, free: 11.31 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.3416, allocations: 235.3 kB / 0.5322 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.3417, allocations: 42.56 kB / 0.5323 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000892/0.3426, allocations: 0.5274 MB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3426, allocations: 4.594 kB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3427, allocations: 0.9375 kB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3427, allocations: 4 kB / 0.5328 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.3432, allocations: 435.7 kB / 0.5332 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.088e-05/0.3433, allocations: 34.59 kB / 0.5333 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.3435, allocations: 34.17 kB / 0.5333 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3435, allocations: 1.094 kB / 0.5333 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.3435, allocations: 20.67 kB / 0.5333 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3435, allocations: 1.062 kB / 0.5333 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3435, allocations: 0 / 0.5333 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.3445, allocations: 0.7048 MB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3447, allocations: 130.5 kB / 0.5341 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.3447, allocations: 6.094 kB / 0.5341 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.3449, allocations: 6.375 kB / 0.5341 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.345, allocations: 26.53 kB / 0.5342 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.345, allocations: 15.72 kB / 0.5342 GB, free: 9.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004029/0.3454, allocations: 406.3 kB / 0.5346 GB, free: 9.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3454, allocations: 0 / 0.5346 GB, free: 9.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00052/0.3459, allocations: 149.4 kB / 0.5347 GB, free: 9.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001399/0.3474, allocations: 1.321 MB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.3481, allocations: 0.6743 MB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3481, allocations: 0 / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.3485, allocations: 489.7 kB / 0.5371 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3491, allocations: 88.55 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.3552, allocations: 5.301 MB / 0.5424 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3556, allocations: 0.8857 MB / 0.5432 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.3559, allocations: 120.2 kB / 0.5434 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.3561, allocations: 135.4 kB / 0.5435 GB, free: 1.672 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3561, allocations: 0 / 0.5435 GB, free: 1.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.389, allocations: 13.03 MB / 0.5562 GB, free: 4.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.686, allocations: 12.59 kB / 0.5562 GB, free: 4.867 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches