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/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_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_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.001143/0.001143, allocations: 199.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008251, allocations: 95.47 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3433/0.3433, allocations: 44.82 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002815, allocations: 11.98 kB / 467.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3951, allocations: 62.95 MB / 0.5184 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.5212, allocations: 90.84 MB / 0.6072 GB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.5215, allocations: 99.92 kB / 0.6072 GB, free: 14.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01395/0.5354, allocations: 5.122 MB / 0.6123 GB, free: 9.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5355, allocations: 0 / 0.6123 GB, free: 9.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.5355, allocations: 4 kB / 0.6123 GB, free: 9.215 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.0006365/0.5362, allocations: 438.9 kB / 0.6127 GB, free: 8.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.5362, allocations: 16.02 kB / 0.6127 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005467/0.5368, allocations: 76.67 kB / 0.6128 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.537, allocations: 224 kB / 0.613 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.5371, allocations: 8.375 kB / 0.613 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.5371, allocations: 8.375 kB / 0.613 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.5375, allocations: 254.2 kB / 0.6132 GB, free: 8.109 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5376, allocations: 4.188 kB / 0.6132 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.5376, allocations: 11.92 kB / 0.6132 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.5376, allocations: 12 kB / 0.6133 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.5381, allocations: 259.7 kB / 0.6135 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.5393, allocations: 0.6603 MB / 0.6142 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.5397, allocations: 230.2 kB / 0.6144 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.5399, allocations: 96.75 kB / 0.6145 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.5399, allocations: 4 kB / 0.6145 GB, free: 6.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.5399, allocations: 34.56 kB / 0.6145 GB, free: 6.734 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.54, allocations: 0 / 0.6145 GB, free: 6.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006521/0.5406, allocations: 305.2 kB / 0.6148 GB, free: 6.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.5407, allocations: 51.41 kB / 0.6148 GB, free: 6.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.5409, allocations: 230.9 kB / 0.6151 GB, free: 6.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.5409, allocations: 29.7 kB / 0.6151 GB, free: 6.102 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.541, allocations: 111.9 kB / 0.6152 GB, free: 5.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.541, allocations: 51.3 kB / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.5411, allocations: 3.938 kB / 0.6153 GB, free: 5.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5412, allocations: 330.8 kB / 0.6156 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.5414, allocations: 87.89 kB / 0.6156 GB, free: 5.516 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.5416, allocations: 112.6 kB / 0.6158 GB, free: 5.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.542, allocations: 214.7 kB / 0.616 GB, free: 5.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.542, allocations: 4 kB / 0.616 GB, free: 5.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004874/0.5425, allocations: 257.3 kB / 0.6162 GB, free: 4.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5425, allocations: 8 kB / 0.6162 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5425, allocations: 0 / 0.6162 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.5425, allocations: 0 / 0.6162 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.5447, allocations: 263.6 kB / 0.6165 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008208/0.553, allocations: 8.606 MB / 0.6249 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.5533, allocations: 35.67 kB / 0.6249 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.5533, allocations: 7.984 kB / 0.6249 GB, free: 11.2 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.0001466/0.5535, allocations: 137.8 kB / 0.625 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.5535, allocations: 11.91 kB / 0.6251 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.554, allocations: 258.9 kB / 0.6253 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.554, allocations: 0 / 0.6253 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-06/0.5541, allocations: 0 / 0.6253 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.5541, allocations: 4.109 kB / 0.6253 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.5543, allocations: 253.3 kB / 0.6256 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5544, allocations: 0 / 0.6256 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.5559, allocations: 199.7 kB / 0.6257 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.556, allocations: 4 kB / 0.6257 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.556, allocations: 3.938 kB / 0.6257 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/0.5627, allocations: 8.132 MB / 0.6337 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5627, allocations: 0 / 0.6337 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.5632, allocations: 299.3 kB / 0.634 GB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.5633, allocations: 100.9 kB / 0.6341 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.5633, allocations: 4 kB / 0.6341 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.5635, allocations: 15.98 kB / 0.6341 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.5636, allocations: 19.91 kB / 0.6341 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.5637, allocations: 11.92 kB / 0.6341 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.5638, allocations: 183.2 kB / 0.6343 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5639, allocations: 4 kB / 0.6343 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004658/0.5643, allocations: 67.98 kB / 0.6344 GB, free: 0.6328 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.0001856/0.5645, allocations: 107.2 kB / 0.6345 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.5666, allocations: 0.6092 MB / 0.6351 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5666, allocations: 3.938 kB / 0.6351 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.5679, allocations: 399.6 kB / 0.6354 GB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5683, allocations: 37.8 kB / 0.6355 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.5693, allocations: 493.5 kB / 0.636 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5695, allocations: 0.7521 MB / 0.6367 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.57, allocations: 125.4 kB / 0.6368 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.5701, allocations: 51.38 kB / 0.6369 GB, free: 14.03 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5701, allocations: 0 / 0.6369 GB, free: 14.03 MB / 458.7 MB Notification: Performance of Templates: time 0.01285/0.583, allocations: 8.397 MB / 0.6451 GB, free: 5.691 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../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