Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2146/0.2146, allocations: 44.91 MB / 349.6 MB, free: 1.816 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 64.7 kB / 491.8 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 64.26 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.00315/0.1358, allocations: 1.696 MB / 0.5447 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1371, allocations: 0.7361 MB / 0.5454 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.1371, allocations: 0 / 0.5454 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1374, allocations: 47.69 kB / 0.5454 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1377, allocations: 67.7 kB / 0.5455 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1379, allocations: 55.83 kB / 0.5456 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.1382, allocations: 159.3 kB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.813e-05/0.1383, allocations: 9.672 kB / 0.5457 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.847e-05/0.1383, allocations: 51.78 kB / 0.5458 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1385, allocations: 87.64 kB / 0.5459 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1385, allocations: 8 kB / 0.5459 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1387, allocations: 67.83 kB / 0.5459 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.1388, allocations: 51.8 kB / 0.546 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1389, allocations: 67.55 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.1392, allocations: 179.2 kB / 0.5462 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1392, allocations: 4 kB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1392, allocations: 0 / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1392, allocations: 4 kB / 0.5462 GB, free: 0.832 MB / 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.0007377/0.14, allocations: 458.6 kB / 0.5467 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.14, allocations: 8.031 kB / 0.5467 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.1401, allocations: 46.73 kB / 0.5467 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006362/0.1407, allocations: 88.69 kB / 0.5468 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.141, allocations: 228.1 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.141, allocations: 8.359 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.1411, allocations: 8.375 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.1417, allocations: 307.9 kB / 0.5473 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1417, allocations: 0 / 0.5473 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.1417, allocations: 4 kB / 0.5473 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.1417, allocations: 19.98 kB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.1423, allocations: 295.7 kB / 0.5476 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.1438, allocations: 0.7162 MB / 0.5483 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.1443, allocations: 270.3 kB / 0.5486 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.1445, allocations: 96.8 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1446, allocations: 4 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1446, allocations: 34.56 kB / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1446, allocations: 4 kB / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008287/0.1454, allocations: 348.8 kB / 0.5491 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1455, allocations: 51.41 kB / 0.5491 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1457, allocations: 226.4 kB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1458, allocations: 25.7 kB / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1459, allocations: 120 kB / 0.5495 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.1459, allocations: 47.69 kB / 0.5495 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.146, allocations: 57.61 kB / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1462, allocations: 326.8 kB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1464, allocations: 99.81 kB / 0.55 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.1466, allocations: 131.3 kB / 0.5501 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.1471, allocations: 243.1 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1471, allocations: 0 / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005873/0.1477, allocations: 297.1 kB / 0.5506 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.1477, allocations: 12.09 kB / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1477, allocations: 0 / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1477, allocations: 4 kB / 0.5506 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01882/0.1666, allocations: 0.9241 MB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02242/0.189, allocations: 10.72 MB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.1893, allocations: 31.98 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.1893, allocations: 11.98 kB / 0.562 GB, free: 15.52 MB / 430.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.0002053/0.1896, allocations: 149.7 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.1896, allocations: 15.91 kB / 0.5622 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/0.1957, allocations: 0.6317 MB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1957, allocations: 0 / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1957, allocations: 0 / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1957, allocations: 3.984 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.1961, allocations: 273.5 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1961, allocations: 0 / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1964, allocations: 39.91 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004614/0.201, allocations: 302.1 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.201, allocations: 7.984 kB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.2181, allocations: 10.32 MB / 0.5735 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2181, allocations: 0 / 0.5735 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006188/0.2243, allocations: 0.6692 MB / 0.5741 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.2244, allocations: 93.02 kB / 0.5742 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.2244, allocations: 8 kB / 0.5742 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.2247, allocations: 11.98 kB / 0.5742 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.2249, allocations: 47.78 kB / 0.5743 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.2249, allocations: 11.98 kB / 0.5743 GB, free: 1.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.2251, allocations: 174.9 kB / 0.5745 GB, free: 1.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2251, allocations: 0 / 0.5745 GB, free: 1.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005896/0.2257, allocations: 95.94 kB / 0.5746 GB, free: 1.711 MB / 430.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): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007483/0.2332, allocations: 1.232 MB / 0.5758 GB, free: 456 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01927/0.2525, allocations: 1.111 MB / 0.5769 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2525, allocations: 0 / 0.5769 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.2543, allocations: 0.5351 MB / 0.5774 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2547, allocations: 47.89 kB / 0.5774 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.26, allocations: 2.787 MB / 0.5801 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.2604, allocations: 0.748 MB / 0.5809 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.2605, allocations: 49.5 kB / 0.5809 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.2606, allocations: 47.42 kB / 0.581 GB, free: 10.96 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2606, allocations: 0 / 0.581 GB, free: 10.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.2975, allocations: 9.977 MB / 0.5907 GB, free: 1.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.12, allocations: 8.406 kB / 0.5907 GB, free: 1.223 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.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: 15.276706312783062]