Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.001768/0.001768, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002161/0.002161, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.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.241/0.241, allocations: 44.92 MB / 358.8 MB, free: 6.254 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002952/0.002952, allocations: 60.14 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3671, allocations: 65.48 MB / 0.557 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003732/0.3709, allocations: 1.941 MB / 0.5589 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3729, allocations: 1.177 MB / 0.5601 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.687e-05/0.373, allocations: 0 / 0.5601 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.3733, allocations: 55.67 kB / 0.5601 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3735, allocations: 71.58 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.374, allocations: 183.3 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.3743, allocations: 231 kB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.3744, allocations: 9.797 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.3746, allocations: 91.62 kB / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3747, allocations: 115.4 kB / 0.5608 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.3748, allocations: 8 kB / 0.5608 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.3752, allocations: 251.6 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.3753, allocations: 55.81 kB / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.3754, allocations: 95.34 kB / 0.5612 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3759, allocations: 332.4 kB / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3759, allocations: 0 / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3759, allocations: 0 / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3759, allocations: 0 / 0.5615 GB, free: 3.121 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00114/0.3771, allocations: 0.4966 MB / 0.562 GB, free: 2.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3771, allocations: 16.03 kB / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.084e-05/0.3772, allocations: 50.73 kB / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.3776, allocations: 60.75 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.3779, allocations: 174.9 kB / 0.5623 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3779, allocations: 12.38 kB / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.3779, allocations: 23.92 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.3785, allocations: 281.1 kB / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3785, allocations: 0 / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3785, allocations: 8 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.3785, allocations: 15.98 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.3791, allocations: 223.5 kB / 0.5628 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3802, allocations: 0.7375 MB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.3808, allocations: 227.7 kB / 0.5638 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.3811, allocations: 94.5 kB / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3811, allocations: 0 / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3811, allocations: 46.59 kB / 0.5639 GB, free: 0.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.3811, allocations: 3.938 kB / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009393/0.3821, allocations: 313.5 kB / 0.5642 GB, free: 188 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.3821, allocations: 106.8 kB / 0.5643 GB, free: 56 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.3825, allocations: 273.9 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3825, allocations: 29.7 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.3826, allocations: 143.8 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.3827, allocations: 59.45 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.3828, allocations: 41.7 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.383, allocations: 334.8 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.3832, allocations: 83.92 kB / 0.5652 GB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.3835, allocations: 123.9 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.384, allocations: 220.9 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.384, allocations: 3.984 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006363/0.3847, allocations: 261.5 kB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3847, allocations: 7.938 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.3847, allocations: 16.16 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.3848, allocations: 7.938 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3849, allocations: 31.97 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.385, allocations: 3.984 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3852, allocations: 39.81 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3852, allocations: 4 kB / 0.5659 GB, free: 14.33 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: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * 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.0001845/0.3854, allocations: 157.6 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.3854, allocations: 31.8 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.386, allocations: 215.3 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.386, allocations: 4 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.386, allocations: 0 / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.386, allocations: 3.984 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.3864, allocations: 236.6 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.3864, allocations: 12.09 kB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3866, allocations: 39.84 kB / 0.5666 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3866, allocations: 3.938 kB / 0.5666 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3866, allocations: 8 kB / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.3866, allocations: 0 / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3866, allocations: 0 / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.3873, allocations: 477.8 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.3874, allocations: 43.66 kB / 0.5671 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3874, allocations: 3.984 kB / 0.5671 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.3877, allocations: 15.98 kB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.3877, allocations: 11.98 kB / 0.5671 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3878, allocations: 7.984 kB / 0.5671 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.388, allocations: 209.2 kB / 0.5673 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.388, allocations: 0 / 0.5673 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.3884, allocations: 79.8 kB / 0.5674 GB, free: 12.72 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.001203/0.3896, allocations: 1.074 MB / 0.5685 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.3903, allocations: 268.9 kB / 0.5687 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3903, allocations: 0 / 0.5687 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.3906, allocations: 185.3 kB / 0.5689 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.3911, allocations: 48.16 kB / 0.5689 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.3954, allocations: 2.986 MB / 0.5719 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.3958, allocations: 0.7593 MB / 0.5726 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.396, allocations: 41.59 kB / 0.5726 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3961, allocations: 59.42 kB / 0.5727 GB, free: 7.105 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3961, allocations: 4 kB / 0.5727 GB, free: 7.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.4309, allocations: 6.789 MB / 0.5793 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.46, allocations: 0 / 0.5793 GB, free: 0.4922 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mflow_test in file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.670183785026893]