Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 113.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 185 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003366/0.3595, allocations: 1.679 MB / 0.5201 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3606, allocations: 0.7288 MB / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.3607, allocations: 0 / 0.5208 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3609, allocations: 35.12 kB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.3612, allocations: 72.95 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3614, allocations: 55.36 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.3616, allocations: 151 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.3617, allocations: 18.17 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.3618, allocations: 56.44 kB / 0.5212 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3619, allocations: 76.95 kB / 0.5212 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.362, allocations: 9.75 kB / 0.5213 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3621, allocations: 67.48 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.3622, allocations: 52.08 kB / 0.5214 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.3623, allocations: 61.39 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3626, allocations: 177.5 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3626, allocations: 1.219 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3626, allocations: 0 / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3626, allocations: 0 / 0.5216 GB, free: 1.277 MB / 382.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.0006158/0.3632, allocations: 470.7 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3633, allocations: 9.859 kB / 0.5221 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.3633, allocations: 47.89 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005587/0.3639, allocations: 76.48 kB / 0.5222 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3641, allocations: 214 kB / 0.5224 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3641, allocations: 8.188 kB / 0.5224 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.3641, allocations: 14.95 kB / 0.5224 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.3646, allocations: 261.6 kB / 0.5227 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3646, allocations: 0 / 0.5227 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3647, allocations: 1.469 kB / 0.5227 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.3647, allocations: 20.3 kB / 0.5227 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.3652, allocations: 246.1 kB / 0.5229 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3663, allocations: 0.6621 MB / 0.5236 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.3668, allocations: 222.8 kB / 0.5238 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.367, allocations: 83.42 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.367, allocations: 2.719 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.367, allocations: 31.66 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.367, allocations: 0 / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000741/0.3678, allocations: 295.7 kB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3678, allocations: 53.19 kB / 0.5242 GB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.3681, allocations: 223 kB / 0.5244 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3681, allocations: 30.27 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.3682, allocations: 123.3 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.3682, allocations: 49.59 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.3683, allocations: 40.3 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3685, allocations: 329.2 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3687, allocations: 78.44 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3689, allocations: 110.9 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.3693, allocations: 207.6 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3693, allocations: 4 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005067/0.3698, allocations: 252.7 kB / 0.5256 GB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3699, allocations: 6.109 kB / 0.5256 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3699, allocations: 0 / 0.5256 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3699, allocations: 10.78 kB / 0.5256 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.3723, allocations: 275.8 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009397/0.3817, allocations: 9.242 MB / 0.5349 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.382, allocations: 28.98 kB / 0.5349 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3821, allocations: 9.547 kB / 0.5349 GB, free: 5.434 MB / 398.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.0001792/0.3823, allocations: 145.4 kB / 0.5351 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.3823, allocations: 15.06 kB / 0.5351 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.3829, allocations: 246.6 kB / 0.5353 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3829, allocations: 1.344 kB / 0.5353 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.3829, allocations: 0.9375 kB / 0.5353 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3829, allocations: 7.984 kB / 0.5353 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.3832, allocations: 245.7 kB / 0.5356 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3832, allocations: 1.062 kB / 0.5356 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.3849, allocations: 207.6 kB / 0.5358 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3849, allocations: 5.062 kB / 0.5358 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.385, allocations: 5.031 kB / 0.5358 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007705/0.3927, allocations: 8.744 MB / 0.5443 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3927, allocations: 4.062 kB / 0.5443 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.3932, allocations: 292.9 kB / 0.5446 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.3933, allocations: 96.08 kB / 0.5447 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3934, allocations: 9.016 kB / 0.5447 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.3936, allocations: 10.98 kB / 0.5447 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.3937, allocations: 22.84 kB / 0.5447 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3937, allocations: 10.73 kB / 0.5447 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.3939, allocations: 187.2 kB / 0.5449 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3939, allocations: 0 / 0.5449 GB, free: 11.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.3944, allocations: 60.34 kB / 0.545 GB, free: 11.3 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.0007843/0.3952, allocations: 0.831 MB / 0.5458 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.3972, allocations: 0.5968 MB / 0.5464 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3972, allocations: 1.125 kB / 0.5464 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.3986, allocations: 408.1 kB / 0.5468 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.3989, allocations: 47.19 kB / 0.5468 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.4025, allocations: 2.548 MB / 0.5493 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4029, allocations: 0.7503 MB / 0.55 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.4033, allocations: 116.6 kB / 0.5501 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.4035, allocations: 94.48 kB / 0.5502 GB, free: 7.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4035, allocations: 1.125 kB / 0.5502 GB, free: 7.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4336, allocations: 10.22 MB / 0.5602 GB, free: 15.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.423, allocations: 10.52 kB / 0.5602 GB, free: 15.34 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv","/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches