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.001116/0.001116, allocations: 117.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 73.91 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 62.44 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.004316/0.1202, allocations: 1.774 MB / 481.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1215, allocations: 0.7401 MB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.1217, allocations: 0 / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1219, allocations: 31.81 kB / 482.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1223, allocations: 63.78 kB / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1225, allocations: 47.83 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1228, allocations: 155.3 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.1229, allocations: 13.39 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.123, allocations: 63.7 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1232, allocations: 83.72 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1232, allocations: 4 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1234, allocations: 79.75 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.1235, allocations: 51.88 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.1236, allocations: 59.56 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1238, allocations: 175.6 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1239, allocations: 4 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1239, allocations: 0 / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1239, allocations: 0 / 482.9 MB, free: 2.125 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.0006959/0.1246, allocations: 462.8 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1246, allocations: 8.031 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.1247, allocations: 42.75 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.1253, allocations: 80.59 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1255, allocations: 226.3 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1256, allocations: 8.375 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1256, allocations: 8.375 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.1261, allocations: 267.9 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1261, allocations: 0 / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1261, allocations: 4 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.1262, allocations: 23.92 kB / 484.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1266, allocations: 239.8 kB / 484.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1279, allocations: 0.6563 MB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.1283, allocations: 214.4 kB / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.1285, allocations: 92.81 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1285, allocations: 8 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1285, allocations: 30.56 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1285, allocations: 0 / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006664/0.1292, allocations: 285.2 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1293, allocations: 51.41 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1295, allocations: 234.1 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1295, allocations: 29.7 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.1296, allocations: 119.9 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1296, allocations: 51.28 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.1297, allocations: 41.69 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1298, allocations: 322.8 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.13, allocations: 79.91 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1302, allocations: 117.7 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1306, allocations: 210.8 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1306, allocations: 4.109 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004828/0.1311, allocations: 253.1 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1311, allocations: 4 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1312, allocations: 0 / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1312, allocations: 4 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.1338, allocations: 271.7 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009914/0.1437, allocations: 9.233 MB / 496.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.144, allocations: 28.02 kB / 496.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.144, allocations: 8 kB / 496.6 MB, free: 3.387 MB / 366.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.000156/0.1442, allocations: 154.1 kB / 496.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1442, allocations: 15.81 kB / 496.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.1448, allocations: 239 kB / 497 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1448, allocations: 8 kB / 497 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.1448, allocations: 0 / 497 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1448, allocations: 0 / 497 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.1451, allocations: 253.3 kB / 497.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1451, allocations: 0 / 497.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.1468, allocations: 219.7 kB / 497.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1468, allocations: 0 / 497.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1469, allocations: 4 kB / 497.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007708/0.1546, allocations: 8.744 MB / 0.4943 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1546, allocations: 0 / 0.4943 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.1551, allocations: 279.2 kB / 0.4946 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.1551, allocations: 104.8 kB / 0.4947 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1552, allocations: 8 kB / 0.4947 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1554, allocations: 12.05 kB / 0.4947 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.1555, allocations: 19.97 kB / 0.4947 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1555, allocations: 11.92 kB / 0.4948 GB, free: 8.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1557, allocations: 191.1 kB / 0.4949 GB, free: 8.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1557, allocations: 0 / 0.4949 GB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.1561, allocations: 60 kB / 0.495 GB, free: 8.168 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.0007274/0.1568, allocations: 0.8403 MB / 0.4958 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.1591, allocations: 0.6198 MB / 0.4964 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.1591, allocations: 0 / 0.4964 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.1605, allocations: 405.8 kB / 0.4968 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1609, allocations: 46.91 kB / 0.4968 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.1642, allocations: 2.572 MB / 0.4994 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1646, allocations: 0.7518 MB / 0.5001 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003885/0.165, allocations: 109.4 kB / 0.5002 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.1652, allocations: 95.36 kB / 0.5003 GB, free: 2.598 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1652, allocations: 0 / 0.5003 GB, free: 2.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2064/0.3716, allocations: 10.07 MB / 0.5101 GB, free: 41.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.3718, allocations: 240.6 kB / 0.5103 GB, free: 41.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.551, allocations: 6.234 kB / 0.5104 GB, free: 41.31 MB / 382.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