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.001453/0.001453, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1975/0.1975, allocations: 46.09 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 74.81 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1035, allocations: 62.45 MB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.004098/0.1077, allocations: 1.701 MB / 481.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1098, allocations: 1.273 MB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.11, allocations: 4 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1102, allocations: 35.77 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.1106, allocations: 63.72 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.1111, allocations: 179.1 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1114, allocations: 151.4 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.1114, allocations: 17.34 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1116, allocations: 55.77 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1117, allocations: 79.66 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1118, allocations: 4 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.1122, allocations: 167.7 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.1122, allocations: 47.88 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.1123, allocations: 63.48 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.1128, allocations: 247.4 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1128, allocations: 3.984 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1128, allocations: 0 / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1128, allocations: 0 / 484.2 MB, free: 1.09 MB / 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.0007145/0.1135, allocations: 474.8 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1136, allocations: 8.031 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.1136, allocations: 50.73 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.1153, allocations: 200.5 kB / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.1157, allocations: 234.2 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1158, allocations: 8.359 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.1158, allocations: 12.38 kB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.1164, allocations: 355.8 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1165, allocations: 0 / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.1165, allocations: 7.984 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.1166, allocations: 23.98 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.1174, allocations: 371.5 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.119, allocations: 0.7852 MB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.1197, allocations: 350 kB / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.1201, allocations: 132.8 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1201, allocations: 3.984 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1202, allocations: 34.56 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.654e-06/0.1202, allocations: 0 / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009483/0.1211, allocations: 432.2 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1212, allocations: 55.41 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1214, allocations: 222.3 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1214, allocations: 25.7 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1215, allocations: 124.1 kB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.1216, allocations: 43.36 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1217, allocations: 57.64 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1218, allocations: 330.8 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1221, allocations: 123.8 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1223, allocations: 151.3 kB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.1229, allocations: 295 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1229, allocations: 0 / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007313/0.1237, allocations: 349.1 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1237, allocations: 4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1237, allocations: 4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1237, allocations: 4.094 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02458/0.1483, allocations: 1.459 MB / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03971/0.1881, allocations: 12.33 MB / 0.4914 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.1885, allocations: 23.78 kB / 0.4914 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.1886, allocations: 23.91 kB / 0.4914 GB, free: 12.96 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.0001807/0.1887, allocations: 145.7 kB / 0.4916 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.1888, allocations: 15.81 kB / 0.4916 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.08e-05/0.1889, allocations: 33.58 kB / 0.4916 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1889, allocations: 4 kB / 0.4916 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1889, allocations: 0 / 0.4916 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1889, allocations: 0 / 0.4916 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1893, allocations: 289.4 kB / 0.4919 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1893, allocations: 0 / 0.4919 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02352/0.2129, allocations: 1.455 MB / 0.4933 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.2129, allocations: 0 / 0.4933 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.213, allocations: 11.97 kB / 0.4933 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2273/0.4403, allocations: 12.33 MB / 0.5054 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4403, allocations: 4.484 kB / 0.5054 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/0.4412, allocations: 411.8 kB / 0.5058 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.4413, allocations: 95.75 kB / 0.5059 GB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.4413, allocations: 5.953 kB / 0.5059 GB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.4417, allocations: 15.27 kB / 0.5059 GB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.442, allocations: 62.5 kB / 0.5059 GB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.442, allocations: 17.33 kB / 0.506 GB, free: 38.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4422, allocations: 169.7 kB / 0.5061 GB, free: 38.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4422, allocations: 0 / 0.5061 GB, free: 38.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008338/0.443, allocations: 121.2 kB / 0.5062 GB, free: 38.81 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.001111/0.4441, allocations: 0.9736 MB / 0.5072 GB, free: 38.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02074/0.4649, allocations: 1.433 MB / 0.5086 GB, free: 38.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4649, allocations: 0 / 0.5086 GB, free: 38.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01939/0.4843, allocations: 1.276 MB / 0.5098 GB, free: 38.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.4848, allocations: 36.67 kB / 0.5099 GB, free: 38.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.4887, allocations: 2.708 MB / 0.5125 GB, free: 36.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.4889, allocations: 0.7406 MB / 0.5132 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.4891, allocations: 51.72 kB / 0.5133 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.4892, allocations: 49.14 kB / 0.5133 GB, free: 36.17 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4892, allocations: 1.062 kB / 0.5133 GB, free: 36.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.5191, allocations: 8.485 MB / 0.5216 GB, free: 33.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.75, allocations: 5.938 kB / 0.5216 GB, free: 33.75 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