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.001602/0.001602, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3097, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003364/0.3131, allocations: 1.952 MB / 0.5326 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.315, allocations: 1.172 MB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.3151, allocations: 2.75 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.3154, allocations: 60.16 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.3157, allocations: 106.6 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.3162, allocations: 157.1 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.3167, allocations: 481.4 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.3168, allocations: 53.7 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.3171, allocations: 161.2 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.3173, allocations: 193.5 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.3174, allocations: 11.66 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.3179, allocations: 274 kB / 0.5351 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.318, allocations: 95.47 kB / 0.5352 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.3183, allocations: 195.1 kB / 0.5354 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008138/0.3191, allocations: 0.5559 MB / 0.536 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3191, allocations: 1.062 kB / 0.536 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3191, allocations: 0 / 0.536 GB, free: 9.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.3192, allocations: 0 / 0.536 GB, free: 9.488 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.001149/0.3203, allocations: 0.7399 MB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3204, allocations: 9.469 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.3205, allocations: 107.4 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3206, allocations: 59.77 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.3211, allocations: 292 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3211, allocations: 34.03 kB / 0.5372 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.3212, allocations: 52.16 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/0.3222, allocations: 0.6369 MB / 0.5378 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3222, allocations: 0 / 0.5378 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.3223, allocations: 19.91 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/0.3223, allocations: 33.77 kB / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.3232, allocations: 0.5051 MB / 0.5384 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.3258, allocations: 1.431 MB / 0.5398 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.3266, allocations: 433.4 kB / 0.5402 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.3268, allocations: 145.1 kB / 0.5403 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.3269, allocations: 18.67 kB / 0.5403 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3269, allocations: 35.66 kB / 0.5404 GB, free: 6.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/0.3269, allocations: 0 / 0.5404 GB, free: 6.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001001/0.328, allocations: 0.4962 MB / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.328, allocations: 53.66 kB / 0.5409 GB, free: 6.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000723/0.3287, allocations: 0.5527 MB / 0.5414 GB, free: 6.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.3288, allocations: 29.7 kB / 0.5415 GB, free: 5.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.329, allocations: 229 kB / 0.5417 GB, free: 5.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3291, allocations: 94.52 kB / 0.5418 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.3293, allocations: 86.14 kB / 0.5419 GB, free: 5.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3295, allocations: 359.6 kB / 0.5422 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.3298, allocations: 159.8 kB / 0.5424 GB, free: 5.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.3302, allocations: 257.8 kB / 0.5426 GB, free: 5.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/0.334, allocations: 1.051 MB / 0.5436 GB, free: 4.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3341, allocations: 0 / 0.5436 GB, free: 4.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009748/0.335, allocations: 0.5011 MB / 0.5441 GB, free: 3.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3351, allocations: 12.03 kB / 0.5441 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/0.3352, allocations: 39.98 kB / 0.5442 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3352, allocations: 4 kB / 0.5442 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.3354, allocations: 35.92 kB / 0.5442 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.3354, allocations: 15.92 kB / 0.5442 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.3358, allocations: 67.41 kB / 0.5443 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.3359, allocations: 20 kB / 0.5443 GB, free: 3.367 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.0004091/0.3363, allocations: 225.9 kB / 0.5445 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.3364, allocations: 43.72 kB / 0.5446 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3375, allocations: 0.5401 MB / 0.5451 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3375, allocations: 4 kB / 0.5451 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3375, allocations: 0 / 0.5451 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3375, allocations: 4 kB / 0.5451 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.3383, allocations: 433.1 kB / 0.5455 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.773e-05/0.3384, allocations: 39.98 kB / 0.5456 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3386, allocations: 27.94 kB / 0.5456 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.3386, allocations: 7.984 kB / 0.5456 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.3386, allocations: 16 kB / 0.5456 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3386, allocations: 0 / 0.5456 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3386, allocations: 0 / 0.5456 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.3398, allocations: 0.7147 MB / 0.5463 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.34, allocations: 124.8 kB / 0.5464 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.34, allocations: 4 kB / 0.5464 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.3402, allocations: 4 kB / 0.5464 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.3403, allocations: 32.03 kB / 0.5465 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.3403, allocations: 16 kB / 0.5465 GB, free: 1.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005152/0.3409, allocations: 403 kB / 0.5469 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3409, allocations: 0 / 0.5469 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006359/0.3415, allocations: 147.8 kB / 0.547 GB, free: 0.5117 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.001879/0.3434, allocations: 1.325 MB / 0.5483 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3445, allocations: 0.6725 MB / 0.5489 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3445, allocations: 0 / 0.5489 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.345, allocations: 0.4884 MB / 0.5494 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.3457, allocations: 85.84 kB / 0.5495 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007851/0.3536, allocations: 5.336 MB / 0.5547 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.3542, allocations: 0.8857 MB / 0.5556 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003235/0.3545, allocations: 116.2 kB / 0.5557 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3548, allocations: 139.4 kB / 0.5558 GB, free: 7.102 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3548, allocations: 4 kB / 0.5558 GB, free: 7.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.3969, allocations: 12.8 MB / 0.5683 GB, free: 10.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.04, allocations: 14.44 kB / 0.5683 GB, free: 10.5 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