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.00115/0.00115, allocations: 113.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001322, allocations: 204.6 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3345, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003673/0.3382, allocations: 1.788 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3399, allocations: 0.8449 MB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.34, allocations: 1.344 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3403, allocations: 48.12 kB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3406, allocations: 67.39 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3409, allocations: 83.44 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.3412, allocations: 151.8 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.3412, allocations: 12.97 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3414, allocations: 71.41 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3416, allocations: 71.19 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3416, allocations: 3.938 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.3419, allocations: 162.5 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.342, allocations: 45.44 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.3421, allocations: 49.52 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.3425, allocations: 200.4 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3425, allocations: 5.359 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3425, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3425, allocations: 0 / 0.534 GB, free: 10.77 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.0007849/0.3433, allocations: 453.7 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3433, allocations: 9.625 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.3434, allocations: 46.86 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.3435, allocations: 19.56 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3437, allocations: 195.3 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3437, allocations: 16.42 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3437, allocations: 14.81 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.3441, allocations: 172 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3441, allocations: 1.375 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3441, allocations: 11.98 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.3441, allocations: 9.625 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.3445, allocations: 172 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.3453, allocations: 482.4 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.3457, allocations: 162.8 kB / 0.5357 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3459, allocations: 59.12 kB / 0.5358 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3459, allocations: 1.219 kB / 0.5358 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3459, allocations: 35.75 kB / 0.5358 GB, free: 9.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.346, allocations: 0 / 0.5358 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005496/0.3465, allocations: 202.2 kB / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3466, allocations: 52.62 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.3468, allocations: 206.6 kB / 0.5363 GB, free: 8.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3468, allocations: 26.7 kB / 0.5363 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.3469, allocations: 110.3 kB / 0.5364 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3469, allocations: 32.7 kB / 0.5364 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.347, allocations: 30.48 kB / 0.5364 GB, free: 8.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3471, allocations: 331.8 kB / 0.5368 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3473, allocations: 48.86 kB / 0.5368 GB, free: 8.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3474, allocations: 71.61 kB / 0.5369 GB, free: 8.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3477, allocations: 131.3 kB / 0.537 GB, free: 8.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3477, allocations: 1.062 kB / 0.537 GB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003707/0.3481, allocations: 166.6 kB / 0.5372 GB, free: 8.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3481, allocations: 7.344 kB / 0.5372 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.3481, allocations: 5.125 kB / 0.5372 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3481, allocations: 0.9688 kB / 0.5372 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.3484, allocations: 53.53 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007193/0.3492, allocations: 1.224 MB / 0.5384 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3493, allocations: 21.27 kB / 0.5384 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3493, allocations: 4.562 kB / 0.5384 GB, free: 6.941 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.0001903/0.3495, allocations: 135.1 kB / 0.5386 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.3496, allocations: 14.28 kB / 0.5386 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.35, allocations: 181.8 kB / 0.5388 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.35, allocations: 1.125 kB / 0.5388 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.35, allocations: 3.938 kB / 0.5388 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.35, allocations: 0.875 kB / 0.5388 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.3503, allocations: 233.1 kB / 0.539 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3503, allocations: 0 / 0.539 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.3506, allocations: 48.81 kB / 0.539 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3506, allocations: 0 / 0.539 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3506, allocations: 1.906 kB / 0.539 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006933/0.3513, allocations: 1.219 MB / 0.5402 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3513, allocations: 5.438 kB / 0.5402 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.3517, allocations: 244.9 kB / 0.5405 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.3518, allocations: 90.27 kB / 0.5405 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3518, allocations: 5 kB / 0.5406 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3519, allocations: 11.11 kB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.352, allocations: 8.391 kB / 0.5406 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.352, allocations: 6.094 kB / 0.5406 GB, free: 4.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.3521, allocations: 152.6 kB / 0.5407 GB, free: 4.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3521, allocations: 0.75 kB / 0.5407 GB, free: 4.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.3525, allocations: 42.72 kB / 0.5408 GB, free: 4.789 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.0008461/0.3533, allocations: 0.8242 MB / 0.5416 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.3538, allocations: 150.8 kB / 0.5417 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3538, allocations: 1.406 kB / 0.5417 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3541, allocations: 87.38 kB / 0.5418 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3544, allocations: 27.72 kB / 0.5418 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.3573, allocations: 2.146 MB / 0.5439 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3576, allocations: 0.7233 MB / 0.5446 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.3578, allocations: 36.42 kB / 0.5447 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.3579, allocations: 38.39 kB / 0.5447 GB, free: 1.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3579, allocations: 0 / 0.5447 GB, free: 1.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.3832, allocations: 4.757 MB / 0.5493 GB, free: 14.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.23, allocations: 5.453 kB / 0.5493 GB, free: 14.16 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