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.001813/0.001813, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002333/0.002333, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.224/0.224, allocations: 44.94 MB / 358.8 MB, free: 6.055 MB / 286.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.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.002093/0.002093, allocations: 67.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 65.48 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003423/0.32, allocations: 1.878 MB / 0.5588 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3219, allocations: 1.049 MB / 0.5599 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.322, allocations: 7.938 kB / 0.5599 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.3222, allocations: 51.75 kB / 0.5599 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.3224, allocations: 63.59 kB / 0.56 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.323, allocations: 183.3 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.3233, allocations: 231 kB / 0.5604 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.829e-05/0.3233, allocations: 9.797 kB / 0.5604 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.3235, allocations: 91.58 kB / 0.5605 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3237, allocations: 107.5 kB / 0.5606 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.3237, allocations: 12 kB / 0.5606 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.324, allocations: 135.8 kB / 0.5607 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.3241, allocations: 63.69 kB / 0.5608 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.3242, allocations: 71.58 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.3247, allocations: 308.4 kB / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3247, allocations: 0 / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3247, allocations: 0 / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3247, allocations: 0 / 0.5611 GB, free: 3.27 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.001071/0.3258, allocations: 0.4966 MB / 0.5616 GB, free: 2.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3258, allocations: 8.031 kB / 0.5616 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.3259, allocations: 50.73 kB / 0.5617 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/0.3262, allocations: 60.75 kB / 0.5617 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3265, allocations: 178.9 kB / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3265, allocations: 8.375 kB / 0.5619 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.3266, allocations: 19.94 kB / 0.5619 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.3271, allocations: 281.1 kB / 0.5622 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3271, allocations: 4 kB / 0.5622 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3272, allocations: 4 kB / 0.5622 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.3272, allocations: 11.98 kB / 0.5622 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.3278, allocations: 223.5 kB / 0.5624 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.329, allocations: 0.7259 MB / 0.5631 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.3297, allocations: 227.7 kB / 0.5633 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.3299, allocations: 90.59 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.33, allocations: 11.94 kB / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.33, allocations: 46.53 kB / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.33, allocations: 0 / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009638/0.331, allocations: 305.2 kB / 0.5638 GB, free: 372 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.331, allocations: 111 kB / 0.5639 GB, free: 236 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.3314, allocations: 281.8 kB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3314, allocations: 33.7 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3315, allocations: 135.8 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.3316, allocations: 51.53 kB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.3316, allocations: 41.7 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3318, allocations: 334.8 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.3321, allocations: 83.91 kB / 0.5648 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.3324, allocations: 125.1 kB / 0.5649 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.3329, allocations: 216.9 kB / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3329, allocations: 7.938 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006853/0.3336, allocations: 261.2 kB / 0.5654 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3336, allocations: 7.938 kB / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.3337, allocations: 12 kB / 0.5654 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3337, allocations: 8.156 kB / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.3339, allocations: 31.95 kB / 0.5654 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3339, allocations: 4 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.3341, allocations: 31.83 kB / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.3342, allocations: 11.98 kB / 0.5655 GB, free: 14.51 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.0001772/0.3344, allocations: 150 kB / 0.5656 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.3344, allocations: 31.78 kB / 0.5657 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.335, allocations: 231.2 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.335, allocations: 4 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.335, allocations: 0 / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.335, allocations: 0 / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.3354, allocations: 224.6 kB / 0.5661 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.3354, allocations: 12 kB / 0.5661 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.3356, allocations: 27.97 kB / 0.5661 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3356, allocations: 3.938 kB / 0.5661 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3356, allocations: 8.094 kB / 0.5662 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3356, allocations: 7.938 kB / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3356, allocations: 4 kB / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.3364, allocations: 481.6 kB / 0.5666 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.3364, allocations: 27.73 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.3365, allocations: 3.984 kB / 0.5667 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3367, allocations: 27.98 kB / 0.5667 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.3368, allocations: 11.98 kB / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3368, allocations: 11.98 kB / 0.5667 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.337, allocations: 197.2 kB / 0.5669 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.337, allocations: 0 / 0.5669 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004683/0.3375, allocations: 83.8 kB / 0.567 GB, free: 12.91 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.001279/0.3388, allocations: 1.074 MB / 0.568 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.3395, allocations: 280.8 kB / 0.5683 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3395, allocations: 0 / 0.5683 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.3398, allocations: 177 kB / 0.5685 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.3404, allocations: 45.22 kB / 0.5685 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.3449, allocations: 2.986 MB / 0.5714 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.345, allocations: 140.2 kB / 0.5715 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.3452, allocations: 45.59 kB / 0.5716 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3453, allocations: 63.42 kB / 0.5717 GB, free: 7.922 MB / 414.1 MB Notification: Performance of SimCode: time 1.021e-06/0.3453, allocations: 0 / 0.5717 GB, free: 7.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.3829, allocations: 7.424 MB / 0.5789 GB, free: 0.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.61, allocations: 3.938 kB / 0.5789 GB, free: 0.7031 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.682357608806342]