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.001299/0.001299, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.6 MB / 243.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007598/0.0007599, allocations: 92.94 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3031/0.3031, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002919, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.342, allocations: 62.95 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002141/0.3442, allocations: 1.502 MB / 0.5174 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3458, allocations: 0.9125 MB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.3459, allocations: 3.938 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.3461, allocations: 31.64 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.3464, allocations: 61.95 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.3468, allocations: 93.38 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.3471, allocations: 249.8 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.3472, allocations: 15.75 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.3474, allocations: 90.33 kB / 0.5188 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.3476, allocations: 102 kB / 0.5189 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.3477, allocations: 5.594 kB / 0.5189 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.348, allocations: 112.4 kB / 0.519 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3481, allocations: 57.41 kB / 0.519 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3482, allocations: 99.83 kB / 0.5191 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3485, allocations: 172 kB / 0.5193 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3485, allocations: 0 / 0.5193 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3485, allocations: 0 / 0.5193 GB, free: 35.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3485, allocations: 3.938 kB / 0.5193 GB, free: 35.16 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.001082/0.3496, allocations: 0.5085 MB / 0.5198 GB, free: 34.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3497, allocations: 11.16 kB / 0.5198 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.3502, allocations: 65.02 kB / 0.5199 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3505, allocations: 221.2 kB / 0.5201 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3505, allocations: 10.58 kB / 0.5201 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.3505, allocations: 13.97 kB / 0.5201 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.3512, allocations: 280.8 kB / 0.5204 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3513, allocations: 0 / 0.5204 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3513, allocations: 4 kB / 0.5204 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.3514, allocations: 18.12 kB / 0.5204 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.3522, allocations: 254.4 kB / 0.5206 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.3535, allocations: 0.815 MB / 0.5214 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.354, allocations: 206.1 kB / 0.5216 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.3544, allocations: 111.9 kB / 0.5217 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.3544, allocations: 11.98 kB / 0.5217 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.3545, allocations: 33.56 kB / 0.5218 GB, free: 33.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.3545, allocations: 0 / 0.5218 GB, free: 33.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001329/0.3558, allocations: 355.6 kB / 0.5221 GB, free: 33.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3559, allocations: 105.8 kB / 0.5222 GB, free: 33.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.3562, allocations: 251.3 kB / 0.5225 GB, free: 33.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3562, allocations: 36.67 kB / 0.5225 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.3563, allocations: 130.1 kB / 0.5226 GB, free: 33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.3564, allocations: 40.39 kB / 0.5227 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.3564, allocations: 4 kB / 0.5227 GB, free: 32.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.3565, allocations: 335 kB / 0.523 GB, free: 32.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.3569, allocations: 101.1 kB / 0.5231 GB, free: 32.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.3573, allocations: 149.8 kB / 0.5232 GB, free: 32.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.3581, allocations: 258.6 kB / 0.5235 GB, free: 32.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3581, allocations: 0 / 0.5235 GB, free: 32.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009332/0.3591, allocations: 311.3 kB / 0.5238 GB, free: 32.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3591, allocations: 5.594 kB / 0.5238 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/0.3591, allocations: 5.719 kB / 0.5238 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.3592, allocations: 2.594 kB / 0.5238 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.3595, allocations: 41.36 kB / 0.5238 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3596, allocations: 18.09 kB / 0.5238 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.3599, allocations: 37.56 kB / 0.5239 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3599, allocations: 10.47 kB / 0.5239 GB, free: 32.36 MB / 378.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 0.0001461/0.3601, allocations: 140 kB / 0.524 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.3602, allocations: 20.55 kB / 0.524 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/0.3609, allocations: 232.2 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.3609, allocations: 2.469 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3609, allocations: 7.266 kB / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.361, allocations: 0 / 0.5243 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.3615, allocations: 266.5 kB / 0.5245 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/0.3615, allocations: 5.656 kB / 0.5245 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.3618, allocations: 42.41 kB / 0.5246 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3618, allocations: 2.844 kB / 0.5246 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3619, allocations: 10.33 kB / 0.5246 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3619, allocations: 0 / 0.5246 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3619, allocations: 3.062 kB / 0.5246 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.3627, allocations: 0.4899 MB / 0.5251 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.3628, allocations: 97.92 kB / 0.5251 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.3629, allocations: 7.938 kB / 0.5252 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.3633, allocations: 27.62 kB / 0.5252 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.3634, allocations: 19.91 kB / 0.5252 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3634, allocations: 9.094 kB / 0.5252 GB, free: 31.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002137/0.3637, allocations: 196.8 kB / 0.5254 GB, free: 31.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3637, allocations: 0 / 0.5254 GB, free: 31.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006665/0.3644, allocations: 68.22 kB / 0.5255 GB, free: 31.32 MB / 378.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.0003008/0.3647, allocations: 146.4 kB / 0.5256 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.3656, allocations: 310.4 kB / 0.5259 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3656, allocations: 320 / 0.5259 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.366, allocations: 193.5 kB / 0.5261 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.3669, allocations: 44.81 kB / 0.5261 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3681, allocations: 0.5238 MB / 0.5266 GB, free: 30.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3683, allocations: 0.7411 MB / 0.5274 GB, free: 29.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3684, allocations: 22.47 kB / 0.5274 GB, free: 29.96 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3684, allocations: 0 / 0.5274 GB, free: 29.96 MB / 378.7 MB Notification: Performance of Templates: time 0.006757/0.3752, allocations: 3.497 MB / 0.5308 GB, free: 29.68 MB / 378.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