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.001124/0.001124, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001134/0.001134, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2064/0.2064, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.381, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.00279/0.3838, allocations: 1.691 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3849, allocations: 0.7167 MB / 0.5208 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.385, allocations: 5.219 kB / 0.5208 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.3852, allocations: 34.28 kB / 0.5208 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.3855, allocations: 67.66 kB / 0.5209 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3857, allocations: 55.03 kB / 0.5209 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.386, allocations: 160.4 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.386, allocations: 13.98 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.934e-05/0.3861, allocations: 59.11 kB / 0.5212 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3863, allocations: 78.16 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3863, allocations: 8.438 kB / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3865, allocations: 64.25 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.3866, allocations: 51.83 kB / 0.5214 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.3867, allocations: 65.38 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.387, allocations: 173.2 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.387, allocations: 1.094 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.387, allocations: 0 / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.387, allocations: 0 / 0.5216 GB, free: 1.285 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.0006206/0.3876, allocations: 459 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3877, allocations: 10.34 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.3877, allocations: 46.31 kB / 0.5221 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.3883, allocations: 78.14 kB / 0.5222 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3885, allocations: 217.6 kB / 0.5224 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3885, allocations: 11.7 kB / 0.5224 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3885, allocations: 11.06 kB / 0.5224 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.389, allocations: 257.8 kB / 0.5226 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.389, allocations: 0 / 0.5226 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.3891, allocations: 9.547 kB / 0.5226 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.3891, allocations: 21.31 kB / 0.5227 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.3896, allocations: 236.8 kB / 0.5229 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3908, allocations: 0.6645 MB / 0.5235 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3913, allocations: 229.2 kB / 0.5238 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3915, allocations: 83.05 kB / 0.5238 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3916, allocations: 2.422 kB / 0.5238 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3916, allocations: 40.92 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3916, allocations: 4 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007317/0.3923, allocations: 281.1 kB / 0.5241 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3924, allocations: 52.78 kB / 0.5242 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3926, allocations: 227.7 kB / 0.5244 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3927, allocations: 26.92 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.3927, allocations: 120.5 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3928, allocations: 44.72 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.3929, allocations: 43.17 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.393, allocations: 329.5 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3932, allocations: 79.55 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.3935, allocations: 114.3 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.3939, allocations: 207.6 kB / 0.5253 GB, free: 14.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3939, allocations: 0 / 0.5253 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005149/0.3944, allocations: 247.9 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3945, allocations: 9.375 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3945, allocations: 1.984 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3945, allocations: 6.172 kB / 0.5256 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.3968, allocations: 274.1 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.4073, allocations: 9.245 MB / 0.5349 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.4077, allocations: 22.67 kB / 0.5349 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.4077, allocations: 12.55 kB / 0.5349 GB, free: 5.449 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.0001827/0.4079, allocations: 142.6 kB / 0.535 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.4079, allocations: 15.28 kB / 0.5351 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.4084, allocations: 248.9 kB / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4085, allocations: 1.906 kB / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4085, allocations: 1.125 kB / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4085, allocations: 0 / 0.5353 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4088, allocations: 245.6 kB / 0.5355 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4088, allocations: 0 / 0.5355 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.4104, allocations: 217.3 kB / 0.5357 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4104, allocations: 1.094 kB / 0.5357 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4105, allocations: 5.297 kB / 0.5357 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/0.4179, allocations: 8.746 MB / 0.5443 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4179, allocations: 0 / 0.5443 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.4185, allocations: 292.8 kB / 0.5446 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.4186, allocations: 92.36 kB / 0.5447 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.4186, allocations: 0.875 kB / 0.5447 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.4188, allocations: 19.55 kB / 0.5447 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.4189, allocations: 26.45 kB / 0.5447 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4189, allocations: 7.031 kB / 0.5447 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.4191, allocations: 188.2 kB / 0.5449 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4191, allocations: 0 / 0.5449 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000501/0.4196, allocations: 67.12 kB / 0.545 GB, free: 11.32 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.0008358/0.4205, allocations: 0.8264 MB / 0.5458 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4225, allocations: 0.5975 MB / 0.5463 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4225, allocations: 3.812 kB / 0.5463 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.4239, allocations: 394.4 kB / 0.5467 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.4242, allocations: 52.08 kB / 0.5468 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.4276, allocations: 2.543 MB / 0.5493 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.428, allocations: 0.7592 MB / 0.55 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.4283, allocations: 111.1 kB / 0.5501 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.4285, allocations: 91.17 kB / 0.5502 GB, free: 7.355 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4285, allocations: 1.594 kB / 0.5502 GB, free: 7.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.4554, allocations: 10.39 MB / 0.5603 GB, free: 15.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.5, allocations: 11.94 kB / 0.5604 GB, free: 15.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 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.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_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