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.001027/0.001027, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 226.5 MB / 243.4 MB, free: 6.438 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000714/0.0007141, allocations: 89.97 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.292/0.292, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002482, allocations: 11.98 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2926, allocations: 62.95 MB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001588/0.2942, allocations: 1.397 MB / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000853/0.2951, allocations: 0.6924 MB / 0.5179 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.2952, allocations: 6.969 kB / 0.5179 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.2954, allocations: 32.5 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.2956, allocations: 61.91 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.2958, allocations: 45.44 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.2961, allocations: 204.3 kB / 0.5183 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.2961, allocations: 19.16 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.2962, allocations: 51.56 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.2964, allocations: 84.34 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2964, allocations: 2.812 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.2965, allocations: 60.69 kB / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.2966, allocations: 47.23 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.2967, allocations: 83.72 kB / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2968, allocations: 123.7 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2968, allocations: 4 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2968, allocations: 0 / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2969, allocations: 0 / 0.5187 GB, free: 35.39 MB / 378.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.0005204/0.2974, allocations: 438 kB / 0.5191 GB, free: 34.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2974, allocations: 9.875 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.2979, allocations: 67.59 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2981, allocations: 226 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2981, allocations: 11.44 kB / 0.5194 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2982, allocations: 11.48 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.2986, allocations: 267 kB / 0.5197 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2986, allocations: 0 / 0.5197 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2986, allocations: 4 kB / 0.5197 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.2987, allocations: 17.98 kB / 0.5197 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.2991, allocations: 253.8 kB / 0.52 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/0.3, allocations: 0.661 MB / 0.5206 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.3004, allocations: 233.1 kB / 0.5208 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.3006, allocations: 83.34 kB / 0.5209 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3006, allocations: 4 kB / 0.5209 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.3006, allocations: 37.41 kB / 0.521 GB, free: 34.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3006, allocations: 0 / 0.521 GB, free: 34.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005838/0.3012, allocations: 300.3 kB / 0.5212 GB, free: 33.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.3012, allocations: 54.41 kB / 0.5213 GB, free: 33.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3014, allocations: 226.5 kB / 0.5215 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3014, allocations: 25.7 kB / 0.5215 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.3015, allocations: 122.2 kB / 0.5217 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.3015, allocations: 48.41 kB / 0.5217 GB, free: 33.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.3015, allocations: 6.969 kB / 0.5217 GB, free: 33.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.3016, allocations: 324.3 kB / 0.522 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3018, allocations: 88.47 kB / 0.5221 GB, free: 33.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.3019, allocations: 125.7 kB / 0.5222 GB, free: 33.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3023, allocations: 209.2 kB / 0.5224 GB, free: 33.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3023, allocations: 3.938 kB / 0.5224 GB, free: 33.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004167/0.3027, allocations: 270.6 kB / 0.5227 GB, free: 33.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3027, allocations: 5.406 kB / 0.5227 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3027, allocations: 0 / 0.5227 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3028, allocations: 2.875 kB / 0.5227 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.3049, allocations: 259.9 kB / 0.5229 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007063/0.312, allocations: 8.591 MB / 0.5313 GB, free: 24.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.3124, allocations: 36.44 kB / 0.5314 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.3124, allocations: 12.42 kB / 0.5314 GB, free: 24.73 MB / 378.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.0001799/0.3126, allocations: 140.1 kB / 0.5315 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.3126, allocations: 19.91 kB / 0.5315 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.3131, allocations: 248.1 kB / 0.5318 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3131, allocations: 7.312 kB / 0.5318 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3131, allocations: 6.688 kB / 0.5318 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3131, allocations: 0 / 0.5318 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.3134, allocations: 235.6 kB / 0.532 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3134, allocations: 2.906 kB / 0.532 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.3149, allocations: 211.4 kB / 0.5322 GB, free: 24.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3149, allocations: 7.938 kB / 0.5322 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.3149, allocations: 7 kB / 0.5322 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.32, allocations: 8.116 MB / 0.5401 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.32, allocations: 7.922 kB / 0.5402 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.3204, allocations: 301.5 kB / 0.5404 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.3205, allocations: 100.7 kB / 0.5405 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.3205, allocations: 4 kB / 0.5405 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.3207, allocations: 15.88 kB / 0.5406 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.3208, allocations: 24 kB / 0.5406 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3208, allocations: 6.281 kB / 0.5406 GB, free: 15.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3209, allocations: 185.5 kB / 0.5408 GB, free: 15.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3209, allocations: 0 / 0.5408 GB, free: 15.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.3213, allocations: 65 kB / 0.5408 GB, free: 15.73 MB / 378.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.0001411/0.3215, allocations: 108.5 kB / 0.5409 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.3245, allocations: 467.1 kB / 0.5414 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3245, allocations: 0 / 0.5414 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.3265, allocations: 319 kB / 0.5417 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3268, allocations: 33.94 kB / 0.5417 GB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.3277, allocations: 0.4971 MB / 0.5422 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.3278, allocations: 0.7361 MB / 0.5429 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.3279, allocations: 20.19 kB / 0.5429 GB, free: 14.55 MB / 378.7 MB Notification: Performance of SimCode: time 4.8e-07/0.3279, allocations: 0 / 0.5429 GB, free: 14.55 MB / 378.7 MB Notification: Performance of Templates: time 0.008574/0.3365, allocations: 6.351 MB / 0.5491 GB, free: 14.09 MB / 378.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/jenkins/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