Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007757/0.0007756, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008149/0.0008148, allocations: 177.2 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 223.1 MB, free: 5.199 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3298/0.3298, allocations: 43.58 MB / 315 MB, free: 8.867 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 12 kB / 384.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1115, allocations: 58.85 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001914/0.1134, allocations: 1.411 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1146, allocations: 0.7489 MB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.1146, allocations: 0 / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1149, allocations: 31.81 kB / 445.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1152, allocations: 63.72 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1153, allocations: 55.81 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.1157, allocations: 243.3 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.1157, allocations: 21.66 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.1158, allocations: 47.8 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.116, allocations: 83.66 kB / 446.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.116, allocations: 4 kB / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1162, allocations: 71.81 kB / 446.3 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.1163, allocations: 43.88 kB / 446.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.698e-05/0.1164, allocations: 89.25 kB / 446.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1166, allocations: 175.3 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1166, allocations: 4 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1166, allocations: 0 / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1167, allocations: 0 / 446.6 MB, free: 9.453 MB / 382.1 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.0006541/0.1173, allocations: 438.9 kB / 447.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1174, allocations: 12.03 kB / 447.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.1174, allocations: 46.73 kB / 447.1 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/0.118, allocations: 72.67 kB / 447.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1182, allocations: 227.9 kB / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1182, allocations: 12.36 kB / 447.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1183, allocations: 4.375 kB / 447.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.1188, allocations: 260 kB / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1188, allocations: 4 kB / 447.7 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1188, allocations: 7.984 kB / 447.7 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.1189, allocations: 19.98 kB / 447.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.1194, allocations: 251.7 kB / 448 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1205, allocations: 0.664 MB / 448.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.1209, allocations: 226.4 kB / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1211, allocations: 92.92 kB / 448.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1211, allocations: 3.938 kB / 448.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1211, allocations: 38.56 kB / 449 MB, free: 6.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1211, allocations: 0 / 449 MB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006891/0.1218, allocations: 301.2 kB / 449.3 MB, free: 6.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1219, allocations: 55.41 kB / 449.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1221, allocations: 234.1 kB / 449.6 MB, free: 6.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1222, allocations: 25.7 kB / 449.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.1222, allocations: 119.9 kB / 449.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.1223, allocations: 43.39 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.1223, allocations: 21.7 kB / 449.8 MB, free: 6.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1225, allocations: 326.8 kB / 450.1 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1227, allocations: 83.91 kB / 450.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1229, allocations: 119.3 kB / 450.3 MB, free: 5.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.1233, allocations: 215.1 kB / 450.5 MB, free: 5.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1233, allocations: 4 kB / 450.5 MB, free: 5.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004862/0.1238, allocations: 261.2 kB / 450.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1238, allocations: 4 kB / 450.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1238, allocations: 0 / 450.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1238, allocations: 4 kB / 450.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.1262, allocations: 263.7 kB / 451 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1929/0.3191, allocations: 8.602 MB / 459.6 MB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3194, allocations: 25.14 kB / 459.6 MB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3195, allocations: 10.42 kB / 459.7 MB, free: 40.98 MB / 382.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.3196, allocations: 148.8 kB / 459.8 MB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.3196, allocations: 15.38 kB / 459.8 MB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.3201, allocations: 251.1 kB / 460.1 MB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3201, allocations: 0.5156 kB / 460.1 MB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.3201, allocations: 3.844 kB / 460.1 MB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3202, allocations: 0.5156 kB / 460.1 MB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3204, allocations: 248.6 kB / 460.3 MB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3204, allocations: 0 / 460.3 MB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.3219, allocations: 215.7 kB / 460.5 MB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3219, allocations: 0.7031 kB / 460.5 MB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.3219, allocations: 13.03 kB / 460.5 MB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/0.327, allocations: 8.119 MB / 468.6 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3271, allocations: 6.156 kB / 468.7 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.3275, allocations: 302.1 kB / 468.9 MB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.3276, allocations: 100.4 kB / 469 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3276, allocations: 12.11 kB / 469.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3278, allocations: 11.89 kB / 469.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.3279, allocations: 22.5 kB / 469.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3279, allocations: 6.297 kB / 469.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.328, allocations: 194.3 kB / 469.3 MB, free: 32.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.328, allocations: 0 / 469.3 MB, free: 32.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.3285, allocations: 61.75 kB / 469.3 MB, free: 32.4 MB / 382.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005807/0.329, allocations: 0.8447 MB / 470.2 MB, free: 31.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.3309, allocations: 0.6095 MB / 470.8 MB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3309, allocations: 0 / 470.8 MB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.3321, allocations: 392.3 kB / 471.2 MB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3324, allocations: 29.94 kB / 471.2 MB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.3351, allocations: 2.623 MB / 473.8 MB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3353, allocations: 0.7544 MB / 474.6 MB, free: 29.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003564/0.3356, allocations: 117.8 kB / 474.7 MB, free: 29.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3358, allocations: 93.2 kB / 474.8 MB, free: 29.57 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3358, allocations: 0 / 474.8 MB, free: 29.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.3549, allocations: 9.663 MB / 484.5 MB, free: 28.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.3551, allocations: 244.9 kB / 484.7 MB, free: 28.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.353, allocations: 0 / 484.7 MB, free: 28.63 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches