Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 204.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.94 MB / 360.8 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 87.86 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2903, allocations: 66.09 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003149/0.2935, allocations: 1.788 MB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.2952, allocations: 0.9473 MB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.2953, allocations: 0 / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.2955, allocations: 43.77 kB / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.2958, allocations: 67.59 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.2962, allocations: 143 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.2965, allocations: 207.2 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.178e-05/0.2966, allocations: 17.55 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.2968, allocations: 87.67 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2969, allocations: 99.58 kB / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.297, allocations: 8 kB / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.2972, allocations: 111.8 kB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.2973, allocations: 55.81 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.2974, allocations: 67.53 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.2977, allocations: 257 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2977, allocations: 4 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2977, allocations: 0 / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2978, allocations: 3.938 kB / 0.5645 GB, free: 108 kB / 398.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.0009852/0.2987, allocations: 465.3 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2988, allocations: 8.031 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.078e-05/0.2988, allocations: 46.73 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.2992, allocations: 60.75 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.2995, allocations: 170.2 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2995, allocations: 16.59 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.2995, allocations: 8.375 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.3, allocations: 274.7 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3, allocations: 0 / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3001, allocations: 4 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.3001, allocations: 16.23 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.3007, allocations: 224.4 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.3019, allocations: 0.7664 MB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.3023, allocations: 183.7 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.3026, allocations: 94.48 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.3026, allocations: 7.938 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.3027, allocations: 42.69 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 4.157e-06/0.3027, allocations: 3.984 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009972/0.3037, allocations: 317.3 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.3037, allocations: 106.8 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.3041, allocations: 260.9 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3041, allocations: 29.7 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3042, allocations: 139.9 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.3042, allocations: 39.69 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3043, allocations: 45.8 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3045, allocations: 334.8 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.3048, allocations: 91.89 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.305, allocations: 131.6 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.3056, allocations: 232.8 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3056, allocations: 0 / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006842/0.3063, allocations: 281.2 kB / 0.5687 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3063, allocations: 4 kB / 0.5687 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.3063, allocations: 8.469 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3063, allocations: 0 / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.3066, allocations: 43.89 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3066, allocations: 0 / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.3068, allocations: 36.03 kB / 0.5688 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3069, allocations: 15.86 kB / 0.5688 GB, free: 11.39 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.307, allocations: 137.8 kB / 0.569 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.3071, allocations: 31.8 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.3076, allocations: 215.2 kB / 0.5692 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3076, allocations: 4 kB / 0.5692 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3076, allocations: 0 / 0.5692 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3076, allocations: 4.094 kB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.308, allocations: 220.5 kB / 0.5694 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.3081, allocations: 12 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.3082, allocations: 31.95 kB / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3082, allocations: 0 / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3082, allocations: 4 kB / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3082, allocations: 0 / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3083, allocations: 0 / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.309, allocations: 497.6 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.309, allocations: 23.84 kB / 0.57 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.3091, allocations: 0 / 0.57 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.3093, allocations: 19.98 kB / 0.57 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.3094, allocations: 19.91 kB / 0.57 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3094, allocations: 4 kB / 0.57 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.3096, allocations: 196.4 kB / 0.5702 GB, free: 9.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3096, allocations: 0 / 0.5702 GB, free: 9.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.31, allocations: 71.81 kB / 0.5703 GB, free: 9.852 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.3112, allocations: 1.054 MB / 0.5713 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006801/0.3119, allocations: 284.8 kB / 0.5716 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3119, allocations: 4.312 kB / 0.5716 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.3122, allocations: 177 kB / 0.5717 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.3127, allocations: 56.58 kB / 0.5718 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.3168, allocations: 2.822 MB / 0.5745 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.317, allocations: 123.5 kB / 0.5747 GB, free: 5.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.3171, allocations: 49.44 kB / 0.5747 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3172, allocations: 55.41 kB / 0.5748 GB, free: 5.027 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3172, allocations: 0 / 0.5748 GB, free: 5.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.3494, allocations: 6.723 MB / 0.5813 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.33, allocations: 22.31 kB / 0.5813 GB, free: 14.43 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.322728244587779]