Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001698/0.001698, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 79.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3525, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002935/0.3554, allocations: 1.954 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3572, allocations: 1.169 MB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.3573, allocations: 1.781 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.3575, allocations: 67.73 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.3578, allocations: 94.39 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.3582, allocations: 158.2 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.3587, allocations: 484 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.3588, allocations: 51.41 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3589, allocations: 156.1 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.3591, allocations: 197.5 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.3592, allocations: 14.59 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.3596, allocations: 278.5 kB / 0.535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3598, allocations: 92.28 kB / 0.5351 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.36, allocations: 187.4 kB / 0.5353 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.3606, allocations: 0.5626 MB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3606, allocations: 0 / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3606, allocations: 1.219 kB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3606, allocations: 0 / 0.5358 GB, free: 9.547 MB / 398.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.001013/0.3616, allocations: 0.7321 MB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3617, allocations: 9.875 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3618, allocations: 96.27 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.3619, allocations: 47.03 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.3623, allocations: 298.9 kB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.3623, allocations: 38.5 kB / 0.537 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.3624, allocations: 55.58 kB / 0.5371 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.3633, allocations: 0.6376 MB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3634, allocations: 0 / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.3634, allocations: 20.28 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.3635, allocations: 37.77 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.3643, allocations: 0.5079 MB / 0.5383 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.3667, allocations: 1.415 MB / 0.5396 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.3674, allocations: 438.8 kB / 0.5401 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.3677, allocations: 145.2 kB / 0.5402 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.3677, allocations: 9.906 kB / 0.5402 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3678, allocations: 35.75 kB / 0.5402 GB, free: 6.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.3678, allocations: 1.062 kB / 0.5402 GB, free: 6.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009262/0.3687, allocations: 0.4948 MB / 0.5407 GB, free: 6.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3687, allocations: 54.75 kB / 0.5408 GB, free: 6.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.3694, allocations: 0.5474 MB / 0.5413 GB, free: 6.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.3694, allocations: 34.8 kB / 0.5413 GB, free: 6.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3696, allocations: 220.6 kB / 0.5416 GB, free: 5.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.3697, allocations: 89.92 kB / 0.5416 GB, free: 5.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.3699, allocations: 89.61 kB / 0.5417 GB, free: 5.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.37, allocations: 360.6 kB / 0.5421 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.3703, allocations: 159.5 kB / 0.5422 GB, free: 5.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.3706, allocations: 258.5 kB / 0.5425 GB, free: 5.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.3744, allocations: 1.05 MB / 0.5435 GB, free: 4.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3744, allocations: 0 / 0.5435 GB, free: 4.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008281/0.3752, allocations: 0.5045 MB / 0.544 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3753, allocations: 8 kB / 0.544 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-05/0.3753, allocations: 39.98 kB / 0.544 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3754, allocations: 8 kB / 0.544 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.3756, allocations: 39.91 kB / 0.5441 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3756, allocations: 4 kB / 0.5441 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3759, allocations: 55.38 kB / 0.5441 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.3759, allocations: 23.98 kB / 0.5442 GB, free: 3.523 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.0003171/0.3763, allocations: 233.8 kB / 0.5444 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.3764, allocations: 51.38 kB / 0.5444 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/0.3773, allocations: 0.5245 MB / 0.5449 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.3773, allocations: 7.984 kB / 0.5449 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3773, allocations: 4 kB / 0.545 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3773, allocations: 3.984 kB / 0.545 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.378, allocations: 429.1 kB / 0.5454 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-05/0.378, allocations: 43.98 kB / 0.5454 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.3782, allocations: 31.92 kB / 0.5454 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3782, allocations: 4 kB / 0.5454 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.3783, allocations: 12 kB / 0.5455 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3783, allocations: 0 / 0.5455 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3783, allocations: 0 / 0.5455 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.3793, allocations: 0.7105 MB / 0.5461 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3794, allocations: 120.6 kB / 0.5463 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.3795, allocations: 12.06 kB / 0.5463 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3797, allocations: 7.984 kB / 0.5463 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.3797, allocations: 23.98 kB / 0.5463 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.3798, allocations: 19.98 kB / 0.5463 GB, free: 1.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004108/0.3802, allocations: 399 kB / 0.5467 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3802, allocations: 0 / 0.5467 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.3807, allocations: 147.8 kB / 0.5468 GB, free: 0.668 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.00145/0.3822, allocations: 1.317 MB / 0.5481 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.383, allocations: 0.6758 MB / 0.5488 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.383, allocations: 0 / 0.5488 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.3834, allocations: 496.2 kB / 0.5493 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.3839, allocations: 90.66 kB / 0.5493 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.3904, allocations: 5.301 MB / 0.5545 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.3909, allocations: 0.8857 MB / 0.5554 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.3911, allocations: 120.1 kB / 0.5555 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.3913, allocations: 139.4 kB / 0.5556 GB, free: 7.297 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3913, allocations: 0 / 0.5556 GB, free: 7.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.4259, allocations: 13.03 MB / 0.5684 GB, free: 10.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.831, allocations: 8.125 kB / 0.5684 GB, free: 10.48 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches