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_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008345/0.0008345, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8558/0.8558, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1303/0.1303, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.097e-05, allocations: 2.281 kB / 406.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002838/0.002859, allocations: 1.78 MB / 408.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004243, allocations: 0.9236 MB / 409.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.00431, allocations: 3.938 kB / 409.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.004534, allocations: 31.77 kB / 409.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.004804, allocations: 71.53 kB / 409.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.005148, allocations: 135.4 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.005368, allocations: 215 kB / 410 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.00541, allocations: 5.812 kB / 410 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.005558, allocations: 103.7 kB / 410.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.005678, allocations: 99.67 kB / 410.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.005699, allocations: 8 kB / 410.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.005862, allocations: 103.8 kB / 410.4 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.005933, allocations: 55.81 kB / 410.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.005988, allocations: 51.84 kB / 410.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.006326, allocations: 259.2 kB / 410.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.006329, allocations: 0 / 410.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006331, allocations: 0 / 410.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006336, allocations: 3.938 kB / 410.7 MB, free: 9.633 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.0007103/0.007046, allocations: 461.3 kB / 411.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.007085, allocations: 12.03 kB / 411.2 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.007128, allocations: 46.73 kB / 411.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.007166, allocations: 24.8 kB / 411.2 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.007358, allocations: 169.4 kB / 411.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.007372, allocations: 16.55 kB / 411.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.007391, allocations: 8.375 kB / 411.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.00776, allocations: 259.2 kB / 411.7 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.007769, allocations: 4.188 kB / 411.7 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.007785, allocations: 8.125 kB / 411.7 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.007812, allocations: 16.22 kB / 411.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.008139, allocations: 225.6 kB / 411.9 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.008875, allocations: 0.7546 MB / 412.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.009115, allocations: 187.6 kB / 412.9 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.009252, allocations: 102.5 kB / 413 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.009283, allocations: 4 kB / 413 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.009306, allocations: 38.69 kB / 413 MB, free: 7.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.009308, allocations: 0 / 413 MB, free: 7.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005396/0.009847, allocations: 321.4 kB / 413.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.00989, allocations: 106.8 kB / 413.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.01008, allocations: 269.6 kB / 413.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.0101, allocations: 25.7 kB / 413.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.01016, allocations: 124 kB / 413.8 MB, free: 6.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.01019, allocations: 51.58 kB / 413.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.01024, allocations: 33.7 kB / 413.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.01033, allocations: 338.8 kB / 414.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.01047, allocations: 95.89 kB / 414.4 MB, free: 5.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.01062, allocations: 133 kB / 414.5 MB, free: 5.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.01094, allocations: 233.2 kB / 414.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01094, allocations: 0 / 414.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004415/0.01138, allocations: 277.3 kB / 415 MB, free: 5.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.0114, allocations: 6.344 kB / 415 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.01142, allocations: 8 kB / 415 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01143, allocations: 4 kB / 415 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01156, allocations: 39.89 kB / 415 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.01156, allocations: 4 kB / 415 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.01165, allocations: 35.83 kB / 415.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.01167, allocations: 16.11 kB / 415.1 MB, free: 4.965 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.798e-05/0.01176, allocations: 145.7 kB / 415.2 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.01179, allocations: 15.91 kB / 415.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.01208, allocations: 219.3 kB / 415.5 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01209, allocations: 0 / 415.5 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01209, allocations: 4 kB / 415.5 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0121, allocations: 0 / 415.5 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.01234, allocations: 220.4 kB / 415.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.01235, allocations: 12 kB / 415.7 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.01244, allocations: 35.95 kB / 415.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01244, allocations: 0 / 415.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01245, allocations: 4 kB / 415.7 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01245, allocations: 0 / 415.7 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01245, allocations: 0 / 415.7 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.01283, allocations: 489.6 kB / 416.2 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.01286, allocations: 23.84 kB / 416.2 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.01288, allocations: 4 kB / 416.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.013, allocations: 15.98 kB / 416.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.01305, allocations: 15.97 kB / 416.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01306, allocations: 4 kB / 416.3 MB, free: 3.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.01318, allocations: 197.2 kB / 416.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01318, allocations: 0 / 416.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000278/0.01346, allocations: 67.81 kB / 416.5 MB, free: 3.445 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 (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.0006922/0.01415, allocations: 1.066 MB / 417.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.01453, allocations: 293 kB / 417.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01453, allocations: 0 / 417.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.01469, allocations: 181.3 kB / 418.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.01518, allocations: 44.39 kB / 418.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.01771, allocations: 2.814 MB / 420.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01782, allocations: 135.4 kB / 421.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.44e-05/0.01791, allocations: 41.41 kB / 421.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.01799, allocations: 56.47 kB / 421.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01799, allocations: 0 / 421.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.03576, allocations: 6.85 MB / 428 MB, free: 7.797 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/6.588, allocations: 12 kB / 428 MB, free: 7.785 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.682176751084626]