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.0007949/0.0007948, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009255/0.0009255, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1749/0.1749, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002267/0.0002267, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09358, allocations: 63.55 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001622/0.09524, allocations: 1.431 MB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.09624, allocations: 0.7324 MB / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.09629, allocations: 0 / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.09648, allocations: 35.81 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.09669, allocations: 59.78 kB / 485.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.09683, allocations: 55.83 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.09708, allocations: 247.2 kB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.09712, allocations: 9.406 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.09719, allocations: 55.72 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.09733, allocations: 79.72 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.09736, allocations: 4 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.09749, allocations: 79.75 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.09756, allocations: 35.89 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.09764, allocations: 93.25 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.09786, allocations: 171.6 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.09787, allocations: 3.938 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09788, allocations: 0 / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.09789, allocations: 0 / 486.3 MB, free: 0.9453 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.0005178/0.09841, allocations: 439 kB / 486.7 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.09845, allocations: 12.03 kB / 486.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.0985, allocations: 50.72 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.09897, allocations: 76.59 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.09916, allocations: 222.2 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.09917, allocations: 4.375 kB / 487.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.09921, allocations: 8.375 kB / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.09964, allocations: 275.8 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.09966, allocations: 4 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.09968, allocations: 4 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.09971, allocations: 15.98 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.1002, allocations: 251.8 kB / 487.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/0.1012, allocations: 0.668 MB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1016, allocations: 222.4 kB / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.1017, allocations: 88.83 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1018, allocations: 4 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1018, allocations: 38.56 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.1018, allocations: 0 / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006193/0.1024, allocations: 301.2 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1025, allocations: 55.41 kB / 489 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1027, allocations: 234 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1027, allocations: 25.7 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.1028, allocations: 116 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.1028, allocations: 55.28 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1028, allocations: 17.72 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.1029, allocations: 330.8 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1031, allocations: 87.89 kB / 489.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1033, allocations: 110 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.1037, allocations: 222.6 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1037, allocations: 4.109 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004557/0.1042, allocations: 265.1 kB / 490.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1042, allocations: 7.984 kB / 490.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1042, allocations: 0 / 490.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1042, allocations: 4 kB / 490.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.1065, allocations: 259.7 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008016/0.1145, allocations: 8.595 MB / 499.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1147, allocations: 28.08 kB / 499.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1148, allocations: 15.98 kB / 499.3 MB, free: 2.852 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.0001201/0.1149, allocations: 146.2 kB / 499.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.1149, allocations: 19.69 kB / 499.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.1154, allocations: 258.9 kB / 499.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1154, allocations: 0 / 499.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.1154, allocations: 0 / 499.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1155, allocations: 3.984 kB / 499.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1157, allocations: 241.4 kB / 500 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1157, allocations: 0 / 500 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.1173, allocations: 215.6 kB / 0.4884 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1173, allocations: 3.938 kB / 0.4885 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1173, allocations: 8 kB / 0.4885 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006504/0.1238, allocations: 8.125 MB / 0.4964 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1239, allocations: 3.938 kB / 0.4964 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.1243, allocations: 291.4 kB / 0.4967 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.1243, allocations: 104.8 kB / 0.4968 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1244, allocations: 7.938 kB / 0.4968 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1246, allocations: 11.98 kB / 0.4968 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.1246, allocations: 31.89 kB / 0.4968 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1247, allocations: 8 kB / 0.4968 GB, free: 8.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1248, allocations: 191.1 kB / 0.497 GB, free: 8.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1248, allocations: 0 / 0.497 GB, free: 8.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.1252, allocations: 60 kB / 0.4971 GB, free: 8.266 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.0006694/0.1259, allocations: 0.8327 MB / 0.4979 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.1278, allocations: 0.6042 MB / 0.4985 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1279, allocations: 0 / 0.4985 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.1291, allocations: 397.2 kB / 0.4989 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1294, allocations: 38.92 kB / 0.4989 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.1324, allocations: 2.621 MB / 0.5014 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1327, allocations: 0.7599 MB / 0.5022 GB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.133, allocations: 113.4 kB / 0.5023 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.1332, allocations: 91.36 kB / 0.5024 GB, free: 2.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1332, allocations: 0 / 0.5024 GB, free: 2.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.147/3.28, allocations: 9.7 MB / 0.5119 GB, free: 38.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/3.28, allocations: 238 kB / 0.5121 GB, free: 38.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/5.47, allocations: 0 / 0.5121 GB, free: 38.35 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