Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_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.0006613/0.0006613, allocations: 93.05 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007518/0.0007517, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.136/1.136, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1709/0.1709, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002167/0.0002167, allocations: 12.27 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08516, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001552/0.08674, allocations: 1.412 MB / 484.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.08826, allocations: 1.242 MB / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.08832, allocations: 0 / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.08851, allocations: 39.86 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.08873, allocations: 63.73 kB / 486 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.0891, allocations: 159.4 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.08934, allocations: 243.2 kB / 486.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.08939, allocations: 17.39 kB / 486.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/0.08946, allocations: 51.72 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.0896, allocations: 83.67 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.08962, allocations: 7.938 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.0899, allocations: 171.7 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.08997, allocations: 35.89 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.09005, allocations: 89.25 kB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.09036, allocations: 247.4 kB / 487 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.09037, allocations: 4 kB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09038, allocations: 0 / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.09039, allocations: 0 / 487 MB, free: 196 kB / 350.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.0005446/0.09093, allocations: 451 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.09098, allocations: 8.031 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.09104, allocations: 50.73 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.09256, allocations: 188.5 kB / 487.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.09279, allocations: 240 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.09281, allocations: 4.375 kB / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.09285, allocations: 12.28 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.09337, allocations: 359.8 kB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.09339, allocations: 4 kB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.09342, allocations: 8 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.09346, allocations: 19.92 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.09407, allocations: 375.6 kB / 488.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.09545, allocations: 0.7969 MB / 489.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.09601, allocations: 350.1 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.09625, allocations: 128.8 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.09628, allocations: 4.109 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.0963, allocations: 34.5 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.0963, allocations: 0 / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008595/0.09717, allocations: 456.4 kB / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.09721, allocations: 55.41 kB / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.0974, allocations: 226.2 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.09743, allocations: 29.7 kB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.0975, allocations: 120.2 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.09755, allocations: 43.36 kB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.0976, allocations: 17.72 kB / 491 MB, free: 12.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09771, allocations: 326.8 kB / 491.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.09799, allocations: 131.8 kB / 491.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.09835, allocations: 155.2 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.09901, allocations: 307 kB / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.09903, allocations: 0 / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006216/0.09965, allocations: 365.1 kB / 492.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.09967, allocations: 8 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.09968, allocations: 0 / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.0997, allocations: 0 / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02269/0.1224, allocations: 1.388 MB / 493.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03497/0.1574, allocations: 11.34 MB / 0.4931 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.1577, allocations: 31.8 kB / 0.4931 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1578, allocations: 15.97 kB / 0.4932 GB, free: 13.17 MB / 382.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.0001354/0.1579, allocations: 142.3 kB / 0.4933 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.158, allocations: 19.75 kB / 0.4933 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.772e-05/0.158, allocations: 33.58 kB / 0.4933 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1581, allocations: 7.984 kB / 0.4933 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1581, allocations: 0 / 0.4933 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1581, allocations: 0 / 0.4933 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.1584, allocations: 281.4 kB / 0.4936 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1584, allocations: 3.984 kB / 0.4936 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02261/0.181, allocations: 1.377 MB / 0.495 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.181, allocations: 3.938 kB / 0.495 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.181, allocations: 15.97 kB / 0.495 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.185/0.366, allocations: 11.32 MB / 0.506 GB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.366, allocations: 0 / 0.506 GB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.3667, allocations: 425.5 kB / 0.5064 GB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.3668, allocations: 99.77 kB / 0.5065 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.3669, allocations: 6.562 kB / 0.5065 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.3672, allocations: 14.97 kB / 0.5066 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.3674, allocations: 61.22 kB / 0.5066 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.3674, allocations: 15.72 kB / 0.5066 GB, free: 38.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3676, allocations: 169.1 kB / 0.5068 GB, free: 38.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3676, allocations: 0 / 0.5068 GB, free: 38.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006728/0.3683, allocations: 120.2 kB / 0.5069 GB, free: 38.26 MB / 382.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.0008745/0.3691, allocations: 0.9813 MB / 0.5079 GB, free: 37.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01931/0.3885, allocations: 1.345 MB / 0.5092 GB, free: 37.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3885, allocations: 0 / 0.5092 GB, free: 37.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01828/0.4068, allocations: 1.204 MB / 0.5104 GB, free: 37.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.4071, allocations: 43.52 kB / 0.5104 GB, free: 37.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.4102, allocations: 2.795 MB / 0.5131 GB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.4104, allocations: 0.742 MB / 0.5139 GB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.4105, allocations: 49.3 kB / 0.5139 GB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.4106, allocations: 49.59 kB / 0.5139 GB, free: 35.57 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4106, allocations: 0 / 0.5139 GB, free: 35.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.428, allocations: 7.993 MB / 0.5218 GB, free: 33.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.4282, allocations: 274.1 kB / 0.522 GB, free: 33.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.225, allocations: 3.938 kB / 0.522 GB, free: 33.18 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches