Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3244, allocations: 62.45 MB / 0.5306 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003189/0.3276, allocations: 1.784 MB / 0.5324 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3292, allocations: 0.8365 MB / 0.5332 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.3293, allocations: 1.844 kB / 0.5332 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.3296, allocations: 52.23 kB / 0.5333 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.3299, allocations: 66.5 kB / 0.5333 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.3302, allocations: 91.53 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.3304, allocations: 139.9 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.3305, allocations: 17.11 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.3307, allocations: 71.27 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.3309, allocations: 75.3 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3309, allocations: 4.125 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.3312, allocations: 161.8 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.3313, allocations: 45.58 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.3314, allocations: 50.92 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.3318, allocations: 205 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3318, allocations: 1.375 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3318, allocations: 3.938 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3318, allocations: 0 / 0.5341 GB, free: 10.57 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007997/0.3326, allocations: 453.5 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3327, allocations: 9.625 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.3327, allocations: 46.86 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.3328, allocations: 15.72 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.333, allocations: 207.1 kB / 0.5348 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.333, allocations: 9.281 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.333, allocations: 15.05 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.3334, allocations: 172.6 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3334, allocations: 0 / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3334, allocations: 5.219 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.3335, allocations: 13.61 kB / 0.5351 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.3338, allocations: 167.5 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.3346, allocations: 491.2 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.3351, allocations: 153.8 kB / 0.5358 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3353, allocations: 63.56 kB / 0.5359 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.3353, allocations: 5.438 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3353, allocations: 31.94 kB / 0.5359 GB, free: 9.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3353, allocations: 0 / 0.5359 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005651/0.3359, allocations: 197.8 kB / 0.5361 GB, free: 8.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.336, allocations: 56.84 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3362, allocations: 206.7 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3362, allocations: 26.77 kB / 0.5364 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3363, allocations: 114.8 kB / 0.5365 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.3364, allocations: 35.38 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.3364, allocations: 31.73 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3366, allocations: 327.2 kB / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.3368, allocations: 53.42 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.337, allocations: 71.3 kB / 0.537 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3373, allocations: 132.1 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3373, allocations: 0 / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003627/0.3376, allocations: 162.2 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3377, allocations: 5.562 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3377, allocations: 1.094 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3377, allocations: 5 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.338, allocations: 53.41 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008845/0.3389, allocations: 1.224 MB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.339, allocations: 18.75 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.339, allocations: 3.094 kB / 0.5386 GB, free: 6.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.3393, allocations: 135.5 kB / 0.5387 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.3393, allocations: 18.33 kB / 0.5387 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.3398, allocations: 182 kB / 0.5389 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3398, allocations: 1.094 kB / 0.5389 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3399, allocations: 1.156 kB / 0.5389 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3399, allocations: 0 / 0.5389 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.3402, allocations: 233.2 kB / 0.5391 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.3402, allocations: 0 / 0.5391 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.3405, allocations: 48.72 kB / 0.5391 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3405, allocations: 4 kB / 0.5391 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3405, allocations: 2.281 kB / 0.5391 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007982/0.3413, allocations: 1.219 MB / 0.5403 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3413, allocations: 0 / 0.5403 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.3418, allocations: 255 kB / 0.5406 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.3418, allocations: 89.39 kB / 0.5407 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.3419, allocations: 5.219 kB / 0.5407 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.342, allocations: 7.609 kB / 0.5407 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.3421, allocations: 12.17 kB / 0.5407 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3421, allocations: 2.188 kB / 0.5407 GB, free: 4.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3422, allocations: 152.3 kB / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3422, allocations: 5.125 kB / 0.5408 GB, free: 4.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3425, allocations: 42.81 kB / 0.5409 GB, free: 4.578 MB / 398.1 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008425/0.3434, allocations: 0.8196 MB / 0.5417 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.3439, allocations: 147.5 kB / 0.5418 GB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3439, allocations: 4.062 kB / 0.5418 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3442, allocations: 83.97 kB / 0.5419 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3445, allocations: 27.62 kB / 0.5419 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.3473, allocations: 2.157 MB / 0.544 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.3477, allocations: 0.7265 MB / 0.5448 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3478, allocations: 41.97 kB / 0.5448 GB, free: 1.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.3479, allocations: 37.64 kB / 0.5448 GB, free: 1.293 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3479, allocations: 0 / 0.5448 GB, free: 1.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.3761, allocations: 4.692 MB / 0.5494 GB, free: 14.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.91, allocations: 16.7 kB / 0.5494 GB, free: 14 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches