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.001867/0.001867, allocations: 114 kB / 20.43 MB, free: 1.457 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.002455/0.002455, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.3144/0.3144, allocations: 46.93 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 179] 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.003939/0.003939, allocations: 75.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3256, allocations: 66.08 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003636/0.3292, allocations: 1.937 MB / 0.5626 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3313, allocations: 1.185 MB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.3315, allocations: 4 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.3317, allocations: 51.67 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.332, allocations: 63.59 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.3326, allocations: 182.6 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.333, allocations: 235 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.3331, allocations: 13.81 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3333, allocations: 95.55 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.3335, allocations: 103.5 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.3336, allocations: 8 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.3341, allocations: 259.6 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.3342, allocations: 55.73 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.3343, allocations: 91.36 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.3349, allocations: 340.4 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3349, allocations: 0 / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3349, allocations: 4 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3349, allocations: 0 / 0.5652 GB, free: 15.68 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.001101/0.336, allocations: 496.6 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.336, allocations: 8.031 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.494e-05/0.3361, allocations: 54.72 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.3365, allocations: 56.77 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.3368, allocations: 194.8 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3368, allocations: 8.375 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.3368, allocations: 19.94 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.3374, allocations: 273.2 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3374, allocations: 0 / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.3374, allocations: 8 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.3375, allocations: 11.98 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.338, allocations: 231.3 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3392, allocations: 0.7415 MB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.3398, allocations: 227.7 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.3401, allocations: 90.5 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.3401, allocations: 8.031 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3402, allocations: 42.5 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.3402, allocations: 0 / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000968/0.3411, allocations: 313.3 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.3412, allocations: 115 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.3415, allocations: 277.9 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3416, allocations: 25.7 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3417, allocations: 143.8 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.3417, allocations: 51.53 kB / 0.5685 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.3418, allocations: 37.7 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.342, allocations: 338.8 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.3422, allocations: 79.92 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.3425, allocations: 125.1 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.3431, allocations: 220.9 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3431, allocations: 0 / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006739/0.3437, allocations: 269.5 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.3438, allocations: 11.92 kB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/0.3438, allocations: 8 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3438, allocations: 4 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.344, allocations: 36.12 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.344, allocations: 7.938 kB / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3442, allocations: 31.81 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.3443, allocations: 12 kB / 0.5696 GB, free: 10.89 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.0001767/0.3444, allocations: 151.1 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.3445, allocations: 27.78 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/0.3451, allocations: 231.2 kB / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3451, allocations: 0 / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3451, allocations: 4 kB / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3451, allocations: 3.938 kB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3455, allocations: 240.6 kB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.3456, allocations: 11.98 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3457, allocations: 23.97 kB / 0.5703 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3457, allocations: 7.938 kB / 0.5703 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3457, allocations: 4 kB / 0.5703 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3458, allocations: 8 kB / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3458, allocations: 0 / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.3465, allocations: 481.7 kB / 0.5708 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.3465, allocations: 27.73 kB / 0.5708 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.3466, allocations: 8 kB / 0.5708 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.3468, allocations: 15.97 kB / 0.5708 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3469, allocations: 15.98 kB / 0.5708 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3469, allocations: 4 kB / 0.5708 GB, free: 9.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3471, allocations: 205.2 kB / 0.571 GB, free: 9.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3471, allocations: 0 / 0.571 GB, free: 9.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.3476, allocations: 79.81 kB / 0.5711 GB, free: 9.293 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.001363/0.349, allocations: 1.066 MB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.3496, allocations: 284.7 kB / 0.5724 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3497, allocations: 0 / 0.5724 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.35, allocations: 177.3 kB / 0.5726 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3505, allocations: 64.28 kB / 0.5727 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.355, allocations: 2.977 MB / 0.5756 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.3555, allocations: 0.7554 MB / 0.5763 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.3556, allocations: 41.61 kB / 0.5763 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3557, allocations: 59.42 kB / 0.5764 GB, free: 3.676 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3557, allocations: 0 / 0.5764 GB, free: 3.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.3915, allocations: 6.807 MB / 0.583 GB, free: 13.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 11.66 kB / 0.5831 GB, free: 13.01 MB / 430.1 MB " [Timeout remaining time 648] (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.624888425925747]