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.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.001406/0.001406, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001412/0.001412, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.49/1.49, allocations: 225.6 MB / 249.8 MB, free: 3.594 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.2203/0.2203, allocations: 44.92 MB / 349.6 MB, free: 1.684 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,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001873/0.001873, allocations: 63.33 kB / 491.8 MB, free: 30.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1394, allocations: 64.27 MB / 0.543 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003486/0.1429, allocations: 1.813 MB / 0.5448 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1445, allocations: 0.9815 MB / 0.5458 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.1446, allocations: 0 / 0.5458 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.1449, allocations: 35.77 kB / 0.5458 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1451, allocations: 75.64 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1455, allocations: 123.5 kB / 0.546 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1458, allocations: 211.2 kB / 0.5462 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.165e-05/0.1459, allocations: 17.48 kB / 0.5462 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.146, allocations: 87.62 kB / 0.5463 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1462, allocations: 103.6 kB / 0.5464 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.1462, allocations: 8 kB / 0.5464 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.1465, allocations: 131.8 kB / 0.5465 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.094e-05/0.1466, allocations: 55.8 kB / 0.5466 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1467, allocations: 83.47 kB / 0.5466 GB, free: 344 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.1471, allocations: 235 kB / 0.5469 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1471, allocations: 4 kB / 0.5469 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.1471, allocations: 11.94 kB / 0.5469 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1471, allocations: 0 / 0.5469 GB, free: 92 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.001168/0.1483, allocations: 0.5221 MB / 0.5474 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1483, allocations: 8.031 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.1484, allocations: 50.73 kB / 0.5475 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.1484, allocations: 20.8 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.1487, allocations: 232 kB / 0.5477 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1487, allocations: 8.609 kB / 0.5477 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1488, allocations: 8.375 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.1493, allocations: 270.7 kB / 0.548 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1493, allocations: 0 / 0.548 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1493, allocations: 7.984 kB / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.1494, allocations: 20.22 kB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.1499, allocations: 220.4 kB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1511, allocations: 0.8064 MB / 0.549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.1515, allocations: 183.7 kB / 0.5492 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.1518, allocations: 98.48 kB / 0.5493 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.1518, allocations: 4 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.1519, allocations: 42.67 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.1519, allocations: 7.938 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009663/0.1528, allocations: 309.2 kB / 0.5496 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.1529, allocations: 111 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.1533, allocations: 261 kB / 0.55 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1533, allocations: 29.7 kB / 0.55 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1534, allocations: 135.9 kB / 0.5501 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1535, allocations: 35.7 kB / 0.5502 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.1535, allocations: 41.69 kB / 0.5502 GB, free: 12.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1537, allocations: 334.7 kB / 0.5505 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.154, allocations: 95.89 kB / 0.5506 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.1543, allocations: 129 kB / 0.5507 GB, free: 11.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.1548, allocations: 228.8 kB / 0.5509 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1548, allocations: 0 / 0.5509 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006719/0.1555, allocations: 281.2 kB / 0.5512 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1555, allocations: 4 kB / 0.5512 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.1555, allocations: 8 kB / 0.5512 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1556, allocations: 4 kB / 0.5512 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.1558, allocations: 44.52 kB / 0.5513 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1558, allocations: 4 kB / 0.5513 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1561, allocations: 35.8 kB / 0.5513 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1561, allocations: 11.94 kB / 0.5513 GB, free: 11.21 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.0001582/0.1562, allocations: 137.8 kB / 0.5515 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.1563, allocations: 23.8 kB / 0.5515 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.1568, allocations: 223.2 kB / 0.5517 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1568, allocations: 3.984 kB / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1568, allocations: 4 kB / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1569, allocations: 4 kB / 0.5517 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.1573, allocations: 253.5 kB / 0.5519 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.1573, allocations: 12.09 kB / 0.552 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.1575, allocations: 35.83 kB / 0.552 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1575, allocations: 4 kB / 0.552 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1575, allocations: 8 kB / 0.552 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1575, allocations: 4 kB / 0.552 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1575, allocations: 0 / 0.552 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.1583, allocations: 489.6 kB / 0.5525 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1584, allocations: 96.95 kB / 0.5526 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.1584, allocations: 4 kB / 0.5526 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.1587, allocations: 19.97 kB / 0.5526 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.1587, allocations: 15.92 kB / 0.5526 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1587, allocations: 11.98 kB / 0.5526 GB, free: 9.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.159, allocations: 188.5 kB / 0.5528 GB, free: 9.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.159, allocations: 0 / 0.5528 GB, free: 9.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004413/0.1594, allocations: 75.81 kB / 0.5529 GB, free: 9.527 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.001275/0.1607, allocations: 1.058 MB / 0.5539 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.1613, allocations: 284.8 kB / 0.5542 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1613, allocations: 0 / 0.5542 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1617, allocations: 173 kB / 0.5543 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1622, allocations: 53.09 kB / 0.5544 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.1664, allocations: 2.832 MB / 0.5572 GB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.1669, allocations: 0.7358 MB / 0.5579 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.167, allocations: 41.52 kB / 0.5579 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1671, allocations: 55.41 kB / 0.558 GB, free: 4.098 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1671, allocations: 0 / 0.558 GB, free: 4.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.1979, allocations: 5.945 MB / 0.5638 GB, free: 14.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.255, allocations: 11.88 kB / 0.5638 GB, free: 14.32 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.383915772661567]