Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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_turbulent,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009126/0.0009126, allocations: 201.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007038/0.0007041, allocations: 105.4 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1843/0.1843, allocations: 44.84 MB / 392 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002359, allocations: 8 kB / 464.8 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08371, allocations: 62.95 MB / 0.5153 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.001718/0.08546, allocations: 1.498 MB / 0.5168 GB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.08661, allocations: 0.9082 MB / 0.5177 GB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.08667, allocations: 3.938 kB / 0.5177 GB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.08684, allocations: 35.81 kB / 0.5177 GB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.08704, allocations: 63.72 kB / 0.5178 GB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.08731, allocations: 107.6 kB / 0.5179 GB, free: 100 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1613/0.2486, allocations: 237 kB / 0.5181 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.2487, allocations: 11.22 kB / 0.5181 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.249, allocations: 87.62 kB / 0.5182 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.2492, allocations: 103.8 kB / 0.5183 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.2493, allocations: 10.2 kB / 0.5183 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.2496, allocations: 125.3 kB / 0.5184 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.2497, allocations: 55.28 kB / 0.5185 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.2498, allocations: 51.58 kB / 0.5186 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.25, allocations: 173 kB / 0.5187 GB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.25, allocations: 0 / 0.5187 GB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.25, allocations: 0 / 0.5187 GB, free: 9.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.25, allocations: 0 / 0.5187 GB, free: 9.824 MB / 346.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.000841/0.2509, allocations: 0.5167 MB / 0.5192 GB, free: 9.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2509, allocations: 8.844 kB / 0.5192 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.2513, allocations: 58.36 kB / 0.5193 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.2515, allocations: 225.8 kB / 0.5195 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2515, allocations: 8.781 kB / 0.5195 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.2515, allocations: 13.3 kB / 0.5195 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.2521, allocations: 275.9 kB / 0.5198 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2521, allocations: 0.9062 kB / 0.5198 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2522, allocations: 5.062 kB / 0.5198 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.2522, allocations: 13.62 kB / 0.5198 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.2528, allocations: 250 kB / 0.52 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009517/0.2538, allocations: 0.815 MB / 0.5208 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.2542, allocations: 205.7 kB / 0.521 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.2544, allocations: 113.9 kB / 0.5211 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.2545, allocations: 4.344 kB / 0.5211 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.2545, allocations: 40.2 kB / 0.5212 GB, free: 8.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.2545, allocations: 1.031 kB / 0.5212 GB, free: 8.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009146/0.2554, allocations: 354.4 kB / 0.5215 GB, free: 8.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.2554, allocations: 106.1 kB / 0.5216 GB, free: 8.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.2557, allocations: 259.4 kB / 0.5219 GB, free: 8.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2557, allocations: 27.89 kB / 0.5219 GB, free: 8.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.2558, allocations: 128.4 kB / 0.522 GB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.2558, allocations: 46.97 kB / 0.5221 GB, free: 7.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.2558, allocations: 1.688 kB / 0.5221 GB, free: 7.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.2559, allocations: 334.5 kB / 0.5224 GB, free: 7.633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.2562, allocations: 106.8 kB / 0.5225 GB, free: 7.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.2565, allocations: 145.9 kB / 0.5226 GB, free: 7.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.2567, allocations: 115.9 kB / 0.5227 GB, free: 7.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2567, allocations: 1.312 kB / 0.5227 GB, free: 7.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006205/0.2574, allocations: 307.1 kB / 0.523 GB, free: 7.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2574, allocations: 8.156 kB / 0.523 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.2574, allocations: 10.11 kB / 0.523 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2574, allocations: 2.594 kB / 0.5231 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2577, allocations: 46.09 kB / 0.5231 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2577, allocations: 2.156 kB / 0.5231 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.2579, allocations: 41.3 kB / 0.5231 GB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.2579, allocations: 16.02 kB / 0.5232 GB, free: 7.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/0.258, allocations: 140 kB / 0.5233 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.2581, allocations: 17.39 kB / 0.5233 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.2586, allocations: 239.8 kB / 0.5235 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2586, allocations: 4.094 kB / 0.5235 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2586, allocations: 5.125 kB / 0.5235 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2586, allocations: 1.844 kB / 0.5235 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.2589, allocations: 259.1 kB / 0.5238 GB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.2589, allocations: 6.281 kB / 0.5238 GB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2591, allocations: 44.3 kB / 0.5238 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2591, allocations: 0.9062 kB / 0.5238 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2592, allocations: 4.297 kB / 0.5238 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2592, allocations: 5.562 kB / 0.5238 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2592, allocations: 1.375 kB / 0.5238 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.2598, allocations: 0.496 MB / 0.5243 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.2598, allocations: 99.25 kB / 0.5244 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.2599, allocations: 2.406 kB / 0.5244 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2601, allocations: 26.12 kB / 0.5245 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.2602, allocations: 19.62 kB / 0.5245 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2602, allocations: 5.672 kB / 0.5245 GB, free: 6.707 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.2604, allocations: 188.9 kB / 0.5247 GB, free: 6.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2604, allocations: 1.062 kB / 0.5247 GB, free: 6.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.2608, allocations: 80.34 kB / 0.5247 GB, free: 6.613 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000206/0.261, allocations: 145.3 kB / 0.5249 GB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.2616, allocations: 303.4 kB / 0.5252 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2616, allocations: 0 / 0.5252 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.2619, allocations: 195.6 kB / 0.5254 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.2624, allocations: 47.86 kB / 0.5254 GB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.2633, allocations: 0.5234 MB / 0.5259 GB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.2635, allocations: 0.7481 MB / 0.5266 GB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.2635, allocations: 19.88 kB / 0.5267 GB, free: 5.324 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2635, allocations: 0 / 0.5267 GB, free: 5.324 MB / 346.7 MB Notification: Performance of Templates: time 0.005735/0.2693, allocations: 3.528 MB / 0.5301 GB, free: 5.07 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches