Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007526/0.0007526, allocations: 98.62 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3048/0.3048, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002682, allocations: 4 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 62.95 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.4176, allocations: 90.85 MB / 0.6052 GB, free: 14.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4179, allocations: 99.92 kB / 0.6053 GB, free: 14.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.4318, allocations: 5.117 MB / 0.6103 GB, free: 9.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4318, allocations: 0 / 0.6103 GB, free: 9.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4318, allocations: 4 kB / 0.6103 GB, free: 9.281 MB / 426.7 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.000526/0.4324, allocations: 442.9 kB / 0.6107 GB, free: 8.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.4324, allocations: 12.03 kB / 0.6107 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005127/0.4329, allocations: 84.64 kB / 0.6108 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.4331, allocations: 216 kB / 0.611 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4332, allocations: 8.375 kB / 0.611 GB, free: 8.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4332, allocations: 16.36 kB / 0.6111 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.4336, allocations: 253.3 kB / 0.6113 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4336, allocations: 192 / 0.6113 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.4337, allocations: 7.938 kB / 0.6113 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.4337, allocations: 23.92 kB / 0.6113 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/0.4342, allocations: 253.6 kB / 0.6116 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.4354, allocations: 0.664 MB / 0.6122 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.4358, allocations: 227 kB / 0.6124 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.4359, allocations: 88.72 kB / 0.6125 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.436, allocations: 8 kB / 0.6125 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.436, allocations: 30.56 kB / 0.6126 GB, free: 6.805 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.436, allocations: 0 / 0.6126 GB, free: 6.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006456/0.4367, allocations: 312.7 kB / 0.6128 GB, free: 6.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.4367, allocations: 55.41 kB / 0.6129 GB, free: 6.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4369, allocations: 219.3 kB / 0.6131 GB, free: 6.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.4369, allocations: 29.7 kB / 0.6131 GB, free: 6.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.437, allocations: 124.7 kB / 0.6133 GB, free: 6.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.4371, allocations: 47.3 kB / 0.6133 GB, free: 6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.4371, allocations: 4 kB / 0.6133 GB, free: 5.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4372, allocations: 322.8 kB / 0.6136 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.4374, allocations: 87.91 kB / 0.6137 GB, free: 5.586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.4375, allocations: 115.3 kB / 0.6138 GB, free: 5.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.4379, allocations: 211.2 kB / 0.614 GB, free: 5.242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4379, allocations: 0 / 0.614 GB, free: 5.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004636/0.4384, allocations: 261.3 kB / 0.6143 GB, free: 4.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4384, allocations: 8 kB / 0.6143 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4384, allocations: 0 / 0.6143 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4384, allocations: 0 / 0.6143 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.4407, allocations: 263.6 kB / 0.6145 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007922/0.4487, allocations: 8.609 MB / 0.6229 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.449, allocations: 35.67 kB / 0.623 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.449, allocations: 7.984 kB / 0.623 GB, free: 11.26 MB / 442.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.4492, allocations: 137.8 kB / 0.6231 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.4492, allocations: 11.91 kB / 0.6231 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.4497, allocations: 265.8 kB / 0.6234 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4497, allocations: 0 / 0.6234 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4497, allocations: 112 / 0.6234 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4497, allocations: 3.938 kB / 0.6234 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.45, allocations: 245.4 kB / 0.6236 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.45, allocations: 0 / 0.6236 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.4516, allocations: 199.7 kB / 0.6238 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4516, allocations: 0 / 0.6238 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4516, allocations: 15.92 kB / 0.6238 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006262/0.4579, allocations: 8.128 MB / 0.6317 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4579, allocations: 3.984 kB / 0.6317 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.4584, allocations: 295.3 kB / 0.632 GB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.4585, allocations: 92.92 kB / 0.6321 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.4585, allocations: 11.98 kB / 0.6321 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.4587, allocations: 15.92 kB / 0.6321 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.4588, allocations: 19.91 kB / 0.6322 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.4588, allocations: 7.938 kB / 0.6322 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.459, allocations: 191.1 kB / 0.6324 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.459, allocations: 4 kB / 0.6324 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004269/0.4594, allocations: 60 kB / 0.6324 GB, free: 0.6992 MB / 442.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.4596, allocations: 119.2 kB / 0.6325 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.4628, allocations: 455.5 kB / 0.633 GB, free: 132 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4628, allocations: 4 kB / 0.633 GB, free: 128 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.465, allocations: 315.5 kB / 0.6333 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.4654, allocations: 38.55 kB / 0.6333 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000963/0.4664, allocations: 0.5003 MB / 0.6338 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4667, allocations: 0.7476 MB / 0.6345 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.4667, allocations: 15.44 kB / 0.6345 GB, free: 14.46 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4667, allocations: 4 kB / 0.6345 GB, free: 14.46 MB / 458.7 MB Notification: Performance of Templates: time 0.007915/0.4747, allocations: 6.429 MB / 0.6408 GB, free: 8.043 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches