Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.00203/0.00203, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002761/0.002761, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2294/0.2294, allocations: 46.95 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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 83.86 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3234, allocations: 66.07 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003475/0.3268, allocations: 1.878 MB / 0.5625 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3288, allocations: 1.056 MB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.3289, allocations: 0 / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.3292, allocations: 51.69 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.3294, allocations: 59.61 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.3299, allocations: 191.3 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.3302, allocations: 239 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.3303, allocations: 5.812 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3305, allocations: 99.55 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3307, allocations: 99.53 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3307, allocations: 8 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.331, allocations: 135.8 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.3311, allocations: 63.67 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.3312, allocations: 71.55 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.3317, allocations: 308.5 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3317, allocations: 0 / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3317, allocations: 4 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3317, allocations: 0 / 0.5649 GB, free: 15.75 MB / 414.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.001052/0.3328, allocations: 496.6 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3328, allocations: 11.97 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.3329, allocations: 50.73 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.3332, allocations: 60.75 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3335, allocations: 186.9 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3336, allocations: 12.38 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.3336, allocations: 15.94 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.3342, allocations: 273.2 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3342, allocations: 0 / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3342, allocations: 11.98 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.3342, allocations: 15.88 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.3348, allocations: 231.3 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3359, allocations: 0.7103 MB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.3365, allocations: 227.7 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3368, allocations: 94.5 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.3368, allocations: 4 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.3369, allocations: 38.5 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3369, allocations: 0 / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009393/0.3378, allocations: 317.5 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.3379, allocations: 106.8 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.3382, allocations: 277.9 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3382, allocations: 25.7 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3383, allocations: 147.8 kB / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.3384, allocations: 51.53 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.3384, allocations: 33.7 kB / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3386, allocations: 338.9 kB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.3389, allocations: 79.92 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.3391, allocations: 131.3 kB / 0.5686 GB, free: 11.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.3397, allocations: 224.9 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3397, allocations: 0 / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006509/0.3403, allocations: 269.3 kB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3404, allocations: 11.94 kB / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.3404, allocations: 8 kB / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3404, allocations: 0 / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.3406, allocations: 39.91 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3406, allocations: 4 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3408, allocations: 31.81 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.3408, allocations: 16.12 kB / 0.5692 GB, free: 10.99 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.0001544/0.341, allocations: 149.7 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.3411, allocations: 27.78 kB / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.3416, allocations: 223.6 kB / 0.5696 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3416, allocations: 0 / 0.5696 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3416, allocations: 4 kB / 0.5696 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3416, allocations: 0 / 0.5696 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.342, allocations: 224.6 kB / 0.5698 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.342, allocations: 12 kB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3422, allocations: 31.91 kB / 0.5699 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3422, allocations: 7.938 kB / 0.5699 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3422, allocations: 7.984 kB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3422, allocations: 0 / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3422, allocations: 0 / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.3429, allocations: 493.2 kB / 0.5703 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.3429, allocations: 31.72 kB / 0.5704 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.343, allocations: 0 / 0.5704 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.3432, allocations: 19.98 kB / 0.5704 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.3433, allocations: 15.91 kB / 0.5704 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.3433, allocations: 8 kB / 0.5704 GB, free: 9.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.3435, allocations: 201.2 kB / 0.5706 GB, free: 9.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3435, allocations: 3.938 kB / 0.5706 GB, free: 9.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004471/0.344, allocations: 79.8 kB / 0.5707 GB, free: 9.402 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.001185/0.3452, allocations: 1.074 MB / 0.5717 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.3458, allocations: 268.9 kB / 0.572 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3458, allocations: 0 / 0.572 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.3461, allocations: 185.3 kB / 0.5722 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.3466, allocations: 40.89 kB / 0.5722 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.3508, allocations: 2.981 MB / 0.5751 GB, free: 4.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.351, allocations: 152.1 kB / 0.5753 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.3511, allocations: 45.59 kB / 0.5753 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3512, allocations: 63.41 kB / 0.5754 GB, free: 4.406 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3512, allocations: 0 / 0.5754 GB, free: 4.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.3862, allocations: 7.434 MB / 0.5826 GB, free: 13.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.17, allocations: 4 kB / 0.5826 GB, free: 13.15 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_trunk_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.137448491994292]