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.001544/0.001544, allocations: 121.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 203.8 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.381/1.381, 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.2064/0.2064, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 67.89 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3622, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002849/0.3651, allocations: 1.711 MB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3664, allocations: 0.7612 MB / 0.5329 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.3665, allocations: 0 / 0.5329 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.3667, allocations: 32.78 kB / 0.533 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.367, allocations: 68.16 kB / 0.533 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.3672, allocations: 61.12 kB / 0.5331 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.3674, allocations: 151.4 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.3675, allocations: 13.64 kB / 0.5332 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.3676, allocations: 60.58 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3677, allocations: 73.92 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3678, allocations: 9.5 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3679, allocations: 67.5 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.368, allocations: 49.69 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.3681, allocations: 61.61 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3684, allocations: 177.1 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3684, allocations: 0 / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3684, allocations: 0 / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3684, allocations: 1.375 kB / 0.5337 GB, free: 10.9 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.0006568/0.369, allocations: 474.3 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3691, allocations: 9.875 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3691, allocations: 46.95 kB / 0.5342 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/0.3697, allocations: 71.55 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3699, allocations: 222.6 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.37, allocations: 5 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.37, allocations: 11.28 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.3705, allocations: 261.9 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3705, allocations: 0 / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.3705, allocations: 2.188 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.3705, allocations: 21.08 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.371, allocations: 241.6 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.3722, allocations: 0.6564 MB / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.3726, allocations: 219.8 kB / 0.5359 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.3728, allocations: 85.97 kB / 0.536 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3728, allocations: 1.094 kB / 0.536 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.3729, allocations: 35.62 kB / 0.536 GB, free: 9.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.3729, allocations: 1.094 kB / 0.536 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006969/0.3736, allocations: 287.8 kB / 0.5363 GB, free: 8.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3736, allocations: 53.69 kB / 0.5363 GB, free: 8.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3739, allocations: 224.9 kB / 0.5365 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3739, allocations: 33.7 kB / 0.5366 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.374, allocations: 119.1 kB / 0.5367 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.374, allocations: 54.28 kB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.3741, allocations: 40.33 kB / 0.5368 GB, free: 8.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3743, allocations: 331.7 kB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3744, allocations: 82.97 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.3747, allocations: 108 kB / 0.5373 GB, free: 8.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.3751, allocations: 205.9 kB / 0.5375 GB, free: 7.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3751, allocations: 0 / 0.5375 GB, free: 7.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005017/0.3756, allocations: 248.1 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3756, allocations: 5.094 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3756, allocations: 1.312 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3756, allocations: 1.469 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.378, allocations: 276.8 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009781/0.3878, allocations: 9.241 MB / 0.547 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.3881, allocations: 22.08 kB / 0.547 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.3882, allocations: 9.859 kB / 0.547 GB, free: 14.4 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.0001559/0.3883, allocations: 141.2 kB / 0.5472 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.3884, allocations: 15.59 kB / 0.5472 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.3889, allocations: 251.8 kB / 0.5474 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3889, allocations: 2.031 kB / 0.5474 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3889, allocations: 7.922 kB / 0.5474 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.389, allocations: 0 / 0.5474 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.3893, allocations: 242.6 kB / 0.5477 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3893, allocations: 0 / 0.5477 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.3909, allocations: 216.4 kB / 0.5479 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3909, allocations: 1.094 kB / 0.5479 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.391, allocations: 9.203 kB / 0.5479 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007667/0.3986, allocations: 8.744 MB / 0.5564 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3987, allocations: 0 / 0.5564 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.3992, allocations: 305.2 kB / 0.5567 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.3993, allocations: 91.55 kB / 0.5568 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.3993, allocations: 1.406 kB / 0.5568 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3996, allocations: 10.67 kB / 0.5568 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.3996, allocations: 22.89 kB / 0.5568 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3997, allocations: 7.375 kB / 0.5568 GB, free: 4.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.3999, allocations: 190.2 kB / 0.557 GB, free: 4.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3999, allocations: 4 kB / 0.557 GB, free: 4.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004987/0.4004, allocations: 72.12 kB / 0.5571 GB, free: 4.25 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.0008167/0.4012, allocations: 0.8263 MB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.4033, allocations: 0.6098 MB / 0.5585 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4033, allocations: 0 / 0.5585 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.4047, allocations: 397.5 kB / 0.5589 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4051, allocations: 43.91 kB / 0.5589 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.4085, allocations: 2.548 MB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.4089, allocations: 0.7595 MB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.4092, allocations: 109.4 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.4094, allocations: 91.36 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4094, allocations: 0 / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.4375, allocations: 10.42 MB / 0.5725 GB, free: 4.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.425, allocations: 3.672 kB / 0.5725 GB, free: 4.688 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