Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001087/0.001087, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 76.16 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3267, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002642/0.3294, allocations: 1.706 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3305, allocations: 0.7585 MB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.3306, allocations: 1.375 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.3308, allocations: 37.39 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.331, allocations: 62.84 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.3312, allocations: 64.36 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.3314, allocations: 157.5 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.3315, allocations: 9.375 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.3316, allocations: 67.25 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3317, allocations: 75.52 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3317, allocations: 7.781 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.3319, allocations: 67.69 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.332, allocations: 45.8 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.332, allocations: 59.23 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3323, allocations: 179.5 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3323, allocations: 1.344 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3323, allocations: 0 / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3323, allocations: 0 / 0.5337 GB, free: 11 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005986/0.3329, allocations: 467.4 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.333, allocations: 8.844 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.333, allocations: 52.38 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.3336, allocations: 74.34 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3338, allocations: 214.9 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3338, allocations: 9.094 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3338, allocations: 10.62 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.3343, allocations: 259.5 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3343, allocations: 5.375 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3343, allocations: 4 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.3343, allocations: 17.73 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.3348, allocations: 238.4 kB / 0.535 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3359, allocations: 0.663 MB / 0.5357 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.3362, allocations: 216.9 kB / 0.5359 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3364, allocations: 81.08 kB / 0.536 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3365, allocations: 6.422 kB / 0.536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3365, allocations: 43.48 kB / 0.536 GB, free: 9.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3365, allocations: 0 / 0.536 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006346/0.3371, allocations: 280.6 kB / 0.5363 GB, free: 9.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3372, allocations: 61.69 kB / 0.5363 GB, free: 8.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.3374, allocations: 224.9 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3374, allocations: 26.92 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.3375, allocations: 122.5 kB / 0.5367 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.3375, allocations: 45.59 kB / 0.5367 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.3376, allocations: 44.88 kB / 0.5368 GB, free: 8.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3377, allocations: 328 kB / 0.5371 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3379, allocations: 79.5 kB / 0.5372 GB, free: 8.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3381, allocations: 118.4 kB / 0.5373 GB, free: 8.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.3385, allocations: 198.2 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3385, allocations: 0 / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004713/0.339, allocations: 260.3 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.339, allocations: 7.281 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.339, allocations: 1.281 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.339, allocations: 2.375 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.3414, allocations: 267.9 kB / 0.538 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/0.3509, allocations: 9.246 MB / 0.547 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.3512, allocations: 30.11 kB / 0.547 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.3512, allocations: 5.156 kB / 0.547 GB, free: 14.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.3514, allocations: 141.2 kB / 0.5472 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.3515, allocations: 15.19 kB / 0.5472 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.352, allocations: 245.9 kB / 0.5474 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.352, allocations: 2.156 kB / 0.5474 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.352, allocations: 0 / 0.5474 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.352, allocations: 0 / 0.5474 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3523, allocations: 250.2 kB / 0.5477 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3524, allocations: 1.094 kB / 0.5477 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.3541, allocations: 216.2 kB / 0.5479 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3541, allocations: 1.094 kB / 0.5479 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3541, allocations: 1.094 kB / 0.5479 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007957/0.3621, allocations: 8.751 MB / 0.5564 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3621, allocations: 0 / 0.5564 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.3627, allocations: 293.6 kB / 0.5567 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3628, allocations: 95.72 kB / 0.5568 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.3629, allocations: 6.281 kB / 0.5568 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.3631, allocations: 11.02 kB / 0.5568 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/0.3632, allocations: 26.78 kB / 0.5568 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3632, allocations: 6.688 kB / 0.5568 GB, free: 4.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.3635, allocations: 190.1 kB / 0.557 GB, free: 4.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3635, allocations: 4 kB / 0.557 GB, free: 4.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005727/0.364, allocations: 68.34 kB / 0.5571 GB, free: 4.344 MB / 414.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008915/0.3649, allocations: 0.8294 MB / 0.5579 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.367, allocations: 0.6032 MB / 0.5585 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.367, allocations: 0 / 0.5585 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.3684, allocations: 405.5 kB / 0.5589 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3688, allocations: 35.92 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.372, allocations: 2.538 MB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3724, allocations: 0.7634 MB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.3727, allocations: 109.4 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.3729, allocations: 93.19 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3729, allocations: 0 / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.3997, allocations: 10.43 MB / 0.5725 GB, free: 4.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.341, allocations: 3.672 kB / 0.5725 GB, free: 4.789 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches