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.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,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 200.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.0007398/0.0007398, allocations: 98.36 kB / 295.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 44.83 MB / 392 MB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002205/0.0002205, allocations: 8 kB / 464.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09153, allocations: 62.95 MB / 0.5153 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.001725/0.09329, allocations: 1.502 MB / 0.5168 GB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.09446, allocations: 0.9043 MB / 0.5177 GB, free: 308 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.09451, allocations: 0 / 0.5177 GB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.0947, allocations: 39.81 kB / 0.5177 GB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.09488, allocations: 59.72 kB / 0.5178 GB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.09513, allocations: 99.64 kB / 0.5179 GB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1651/0.2603, allocations: 243.5 kB / 0.5181 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.2604, allocations: 12.8 kB / 0.5181 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.2606, allocations: 86.34 kB / 0.5182 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2608, allocations: 98.2 kB / 0.5183 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.2608, allocations: 9.219 kB / 0.5183 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.2611, allocations: 120.4 kB / 0.5184 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.2612, allocations: 56.83 kB / 0.5185 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.2613, allocations: 52.67 kB / 0.5185 GB, free: 9.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.2615, allocations: 166.4 kB / 0.5187 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2615, allocations: 0 / 0.5187 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2615, allocations: 1.219 kB / 0.5187 GB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.2615, allocations: 0 / 0.5187 GB, free: 9.828 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.0008229/0.2624, allocations: 0.5166 MB / 0.5192 GB, free: 9.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2624, allocations: 8.906 kB / 0.5192 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.2627, allocations: 61.03 kB / 0.5193 GB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.2629, allocations: 223.9 kB / 0.5195 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.263, allocations: 13.05 kB / 0.5195 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.263, allocations: 13.14 kB / 0.5195 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.2635, allocations: 270.2 kB / 0.5198 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2635, allocations: 0.75 kB / 0.5198 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2636, allocations: 5.75 kB / 0.5198 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.2636, allocations: 17.59 kB / 0.5198 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.2642, allocations: 245 kB / 0.52 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.2651, allocations: 0.8165 MB / 0.5208 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.2655, allocations: 202.2 kB / 0.521 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.2658, allocations: 119.7 kB / 0.5211 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.2658, allocations: 3.609 kB / 0.5211 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2659, allocations: 40.84 kB / 0.5212 GB, free: 8.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.2659, allocations: 3.953 kB / 0.5212 GB, free: 8.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009105/0.2668, allocations: 352.8 kB / 0.5215 GB, free: 8.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2668, allocations: 105.2 kB / 0.5216 GB, free: 8.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.2671, allocations: 261.1 kB / 0.5219 GB, free: 8.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2671, allocations: 30.89 kB / 0.5219 GB, free: 8.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.2672, allocations: 128.9 kB / 0.522 GB, free: 7.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.2672, allocations: 43.14 kB / 0.522 GB, free: 7.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.2672, allocations: 4.5 kB / 0.5221 GB, free: 7.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.2673, allocations: 329.9 kB / 0.5224 GB, free: 7.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.2675, allocations: 105.8 kB / 0.5225 GB, free: 7.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.2678, allocations: 150.1 kB / 0.5226 GB, free: 7.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.2681, allocations: 116.4 kB / 0.5227 GB, free: 7.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2681, allocations: 0 / 0.5227 GB, free: 7.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000626/0.2687, allocations: 304.3 kB / 0.523 GB, free: 7.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2688, allocations: 6.562 kB / 0.523 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.2688, allocations: 10.55 kB / 0.523 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2688, allocations: 2.609 kB / 0.523 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2691, allocations: 43.34 kB / 0.5231 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2691, allocations: 2.125 kB / 0.5231 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.2693, allocations: 41.31 kB / 0.5231 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.2693, allocations: 14.61 kB / 0.5231 GB, free: 7.5 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.278e-05/0.2694, allocations: 141.1 kB / 0.5233 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.2695, allocations: 17.31 kB / 0.5233 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.2699, allocations: 233.7 kB / 0.5235 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.27, allocations: 5.281 kB / 0.5235 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.27, allocations: 1.125 kB / 0.5235 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.27, allocations: 1.312 kB / 0.5235 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.2703, allocations: 260.3 kB / 0.5238 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.2703, allocations: 11.44 kB / 0.5238 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2705, allocations: 38.28 kB / 0.5238 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2705, allocations: 1.906 kB / 0.5238 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2705, allocations: 8.344 kB / 0.5238 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2705, allocations: 5 kB / 0.5238 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2706, allocations: 1.797 kB / 0.5238 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.2711, allocations: 0.4963 MB / 0.5243 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.2712, allocations: 103.7 kB / 0.5244 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.2712, allocations: 2.922 kB / 0.5244 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.2715, allocations: 20.98 kB / 0.5244 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.2716, allocations: 15.48 kB / 0.5244 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2716, allocations: 9.594 kB / 0.5245 GB, free: 6.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2718, allocations: 194.1 kB / 0.5246 GB, free: 6.641 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2718, allocations: 1.75 kB / 0.5246 GB, free: 6.641 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003753/0.2721, allocations: 66.84 kB / 0.5247 GB, free: 6.633 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.000193/0.2723, allocations: 148.7 kB / 0.5248 GB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006041/0.2729, allocations: 306.2 kB / 0.5251 GB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.273, allocations: 0 / 0.5251 GB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.2733, allocations: 196.2 kB / 0.5253 GB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.2737, allocations: 51.84 kB / 0.5254 GB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/0.2745, allocations: 0.5224 MB / 0.5259 GB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.2747, allocations: 0.7443 MB / 0.5266 GB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.2748, allocations: 26.78 kB / 0.5266 GB, free: 5.328 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2748, allocations: 3.938 kB / 0.5266 GB, free: 5.324 MB / 346.7 MB Notification: Performance of Templates: time 0.005274/0.28, allocations: 3.496 MB / 0.5301 GB, free: 5.07 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches