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.001285/0.001285, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 79.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3486, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002932/0.3516, allocations: 1.705 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3529, allocations: 0.7636 MB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.3529, allocations: 0 / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.3532, allocations: 31.02 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.3535, allocations: 64.06 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.3537, allocations: 62.47 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.354, allocations: 152 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.3541, allocations: 17.64 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.649e-05/0.3542, allocations: 68.56 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.3543, allocations: 75.3 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3543, allocations: 4.125 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.3545, allocations: 71.44 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.088e-05/0.3546, allocations: 41.77 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.3547, allocations: 62.92 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.355, allocations: 181.1 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.355, allocations: 0 / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.355, allocations: 1.375 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3551, allocations: 0 / 0.5338 GB, free: 10.95 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.0007342/0.3558, allocations: 470.9 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3558, allocations: 8.75 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.3559, allocations: 48.31 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000529/0.3564, allocations: 74.19 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.3567, allocations: 220.1 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3567, allocations: 7.938 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.3568, allocations: 11.91 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.3573, allocations: 262 kB / 0.5349 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3573, allocations: 0 / 0.5349 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3573, allocations: 1.188 kB / 0.5349 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.3573, allocations: 20.89 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.3579, allocations: 246.4 kB / 0.5352 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.359, allocations: 0.6521 MB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.3595, allocations: 228.6 kB / 0.536 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.3597, allocations: 81.08 kB / 0.5361 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3597, allocations: 5.328 kB / 0.5361 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3597, allocations: 31.47 kB / 0.5361 GB, free: 9.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3598, allocations: 1.062 kB / 0.5361 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007376/0.3605, allocations: 296.6 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3606, allocations: 53.66 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.3608, allocations: 225.4 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.3609, allocations: 29.7 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.361, allocations: 119.7 kB / 0.5368 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.361, allocations: 45.91 kB / 0.5369 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.3611, allocations: 44.09 kB / 0.5369 GB, free: 8.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3613, allocations: 331.8 kB / 0.5372 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3615, allocations: 79.59 kB / 0.5373 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.3617, allocations: 110.7 kB / 0.5374 GB, free: 8.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.3622, allocations: 214.4 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3622, allocations: 0 / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005053/0.3627, allocations: 251.4 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3627, allocations: 5.812 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3627, allocations: 5.594 kB / 0.5379 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3627, allocations: 1.375 kB / 0.5379 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.3651, allocations: 267.6 kB / 0.5381 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.3752, allocations: 9.242 MB / 0.5471 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.3755, allocations: 26.64 kB / 0.5472 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.3756, allocations: 9.234 kB / 0.5472 GB, free: 14.43 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.0001733/0.3758, allocations: 149.7 kB / 0.5473 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.3758, allocations: 14.56 kB / 0.5473 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.3763, allocations: 242 kB / 0.5476 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3764, allocations: 6.219 kB / 0.5476 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.3764, allocations: 0 / 0.5476 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3764, allocations: 1.281 kB / 0.5476 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3767, allocations: 249.1 kB / 0.5478 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3767, allocations: 1.062 kB / 0.5478 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.3783, allocations: 220.6 kB / 0.548 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3784, allocations: 0 / 0.548 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3784, allocations: 1.281 kB / 0.548 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/0.387, allocations: 8.753 MB / 0.5566 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.387, allocations: 0 / 0.5566 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.3876, allocations: 288.9 kB / 0.5568 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.3877, allocations: 99.97 kB / 0.5569 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.3877, allocations: 5.156 kB / 0.5569 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3879, allocations: 15.08 kB / 0.5569 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.388, allocations: 18.78 kB / 0.557 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.388, allocations: 6.219 kB / 0.557 GB, free: 4.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.3882, allocations: 191 kB / 0.5572 GB, free: 4.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3882, allocations: 0 / 0.5572 GB, free: 4.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004607/0.3887, allocations: 60.41 kB / 0.5572 GB, free: 4.293 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.0008548/0.3896, allocations: 0.8332 MB / 0.558 GB, free: 3.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.3916, allocations: 0.608 MB / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3916, allocations: 0 / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.393, allocations: 415.6 kB / 0.559 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3934, allocations: 39.86 kB / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.397, allocations: 2.549 MB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3974, allocations: 0.7556 MB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000333/0.3977, allocations: 117.4 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.398, allocations: 95.36 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.398, allocations: 0 / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.4343, allocations: 10.23 MB / 0.5725 GB, free: 4.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.962, allocations: 7.672 kB / 0.5725 GB, free: 4.828 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