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.001543/0.001543, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2791/0.2791, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 78.94 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.002836/0.1159, allocations: 1.694 MB / 481.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1176, allocations: 1.273 MB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.1177, allocations: 4 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1179, allocations: 35.75 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1182, allocations: 67.7 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1187, allocations: 179.2 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1189, allocations: 147.4 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.119, allocations: 17.34 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1191, allocations: 59.77 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1193, allocations: 79.66 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1193, allocations: 4 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1196, allocations: 167.7 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.1197, allocations: 39.89 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.1198, allocations: 63.55 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.1202, allocations: 255.4 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1202, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1202, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1202, allocations: 0 / 484.2 MB, free: 1.066 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.0006442/0.1209, allocations: 474.8 kB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1209, allocations: 8.031 kB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.121, allocations: 46.73 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.1227, allocations: 204.5 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.123, allocations: 234.4 kB / 485.2 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.123, allocations: 4.375 kB / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.1231, allocations: 16.36 kB / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.1237, allocations: 355.8 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1237, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1237, allocations: 7.984 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.1238, allocations: 19.98 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.1245, allocations: 375.5 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1259, allocations: 0.789 MB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.1265, allocations: 350 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.1269, allocations: 132.8 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1269, allocations: 3.984 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1269, allocations: 30.56 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.1269, allocations: 4 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009471/0.1279, allocations: 428.8 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1279, allocations: 55.34 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1281, allocations: 226.3 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1282, allocations: 29.7 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.1283, allocations: 120.1 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.1283, allocations: 39.36 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1284, allocations: 57.64 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1286, allocations: 334.8 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.1288, allocations: 123.8 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.1291, allocations: 151.3 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.1297, allocations: 299 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1297, allocations: 0 / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007126/0.1304, allocations: 349.1 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1304, allocations: 4 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1304, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1304, allocations: 8.094 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02489/0.1553, allocations: 1.463 MB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0404/0.1958, allocations: 12.33 MB / 0.4914 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1962, allocations: 23.78 kB / 0.4914 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1962, allocations: 23.95 kB / 0.4914 GB, free: 12.93 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.0001824/0.1964, allocations: 141.7 kB / 0.4916 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.1965, allocations: 11.81 kB / 0.4916 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.104e-05/0.1966, allocations: 37.58 kB / 0.4916 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1966, allocations: 4 kB / 0.4916 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1966, allocations: 0 / 0.4916 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1966, allocations: 0 / 0.4916 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.197, allocations: 289.4 kB / 0.4919 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.197, allocations: 0 / 0.4919 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02408/0.2211, allocations: 1.455 MB / 0.4933 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.2212, allocations: 0 / 0.4933 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.2213, allocations: 11.97 kB / 0.4933 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2489/0.4702, allocations: 12.33 MB / 0.5054 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4702, allocations: 3.172 kB / 0.5054 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.471, allocations: 414.6 kB / 0.5058 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.4711, allocations: 97.86 kB / 0.5059 GB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.4712, allocations: 2.875 kB / 0.5059 GB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.4715, allocations: 18.09 kB / 0.5059 GB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.4718, allocations: 56 kB / 0.5059 GB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.4718, allocations: 18.36 kB / 0.506 GB, free: 38.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.472, allocations: 169 kB / 0.5061 GB, free: 38.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.472, allocations: 1.75 kB / 0.5061 GB, free: 38.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007282/0.4727, allocations: 121 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.001015/0.4737, allocations: 0.9818 MB / 0.5072 GB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02147/0.4952, allocations: 1.43 MB / 0.5086 GB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.4953, allocations: 1.312 kB / 0.5086 GB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02013/0.5154, allocations: 1.284 MB / 0.5098 GB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.5159, allocations: 32.34 kB / 0.5099 GB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.5193, 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.000157/0.5195, allocations: 0.7397 MB / 0.5132 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.5197, allocations: 48.53 kB / 0.5133 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.5198, allocations: 52.61 kB / 0.5133 GB, free: 36.17 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5198, allocations: 0 / 0.5133 GB, free: 36.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.5459, allocations: 8.489 MB / 0.5216 GB, free: 33.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.94, allocations: 5.906 kB / 0.5216 GB, free: 33.73 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_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.csv","/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