Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.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.001367/0.001367, 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.001861/0.001861, allocations: 213.1 kB / 23.74 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.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.227/0.227, allocations: 46.92 MB / 360.8 MB, free: 4.195 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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003781/0.003781, allocations: 83.81 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3608, allocations: 66.07 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003938/0.3647, allocations: 2.209 MB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3666, allocations: 0.9501 MB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3667, allocations: 4 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.367, allocations: 75.56 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.3675, allocations: 151.2 kB / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3678, allocations: 98.94 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006267/0.3684, allocations: 489.6 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3685, allocations: 25.22 kB / 0.5646 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.3688, allocations: 187.1 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.3692, allocations: 242.8 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.3693, allocations: 12 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.3696, allocations: 183.8 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3697, allocations: 111.4 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3699, allocations: 198.6 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007005/0.3706, allocations: 0.5384 MB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3706, allocations: 4 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3706, allocations: 0 / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3707, allocations: 0 / 0.5661 GB, free: 14.84 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001297/0.372, allocations: 0.692 MB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.372, allocations: 8.031 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.3721, allocations: 102.7 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3723, allocations: 56.56 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.3727, allocations: 254.1 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.3728, allocations: 40.94 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.3729, allocations: 47.98 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.374, allocations: 0.707 MB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.374, allocations: 3.984 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.3741, allocations: 20 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/0.3741, allocations: 53.28 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.3754, allocations: 0.7428 MB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.3776, allocations: 1.391 MB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.3784, allocations: 440.5 kB / 0.5705 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.3787, allocations: 153.1 kB / 0.5706 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/0.3787, allocations: 12.22 kB / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3788, allocations: 42.78 kB / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.3788, allocations: 0 / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001112/0.3799, allocations: 0.5367 MB / 0.5712 GB, free: 9.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3799, allocations: 55.41 kB / 0.5713 GB, free: 9.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.3806, allocations: 0.5368 MB / 0.5718 GB, free: 8.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3806, allocations: 33.7 kB / 0.5718 GB, free: 8.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.3808, allocations: 228.7 kB / 0.572 GB, free: 8.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.3809, allocations: 107.1 kB / 0.5721 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.381, allocations: 89.91 kB / 0.5722 GB, free: 8.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3812, allocations: 358.8 kB / 0.5726 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.3815, allocations: 152.6 kB / 0.5727 GB, free: 7.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.3819, allocations: 256.2 kB / 0.573 GB, free: 7.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/0.3826, allocations: 443.5 kB / 0.5734 GB, free: 7.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3826, allocations: 0 / 0.5734 GB, free: 7.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00087/0.3835, allocations: 0.4931 MB / 0.5739 GB, free: 6.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3835, allocations: 6.344 kB / 0.5739 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3835, allocations: 4 kB / 0.5739 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3836, allocations: 4 kB / 0.5739 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.3845, allocations: 207.8 kB / 0.5741 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/0.3889, allocations: 7.326 MB / 0.5812 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.3893, allocations: 59.5 kB / 0.5813 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.3893, allocations: 20 kB / 0.5813 GB, free: 14.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.3896, allocations: 227.6 kB / 0.5815 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.3897, allocations: 47.72 kB / 0.5816 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3908, allocations: 0.549 MB / 0.5821 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3908, allocations: 0 / 0.5821 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3908, allocations: 4 kB / 0.5821 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3908, allocations: 0 / 0.5821 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.3913, allocations: 404.3 kB / 0.5825 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3913, allocations: 0 / 0.5825 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.3921, allocations: 203.8 kB / 0.5827 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3921, allocations: 0 / 0.5827 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.3921, allocations: 19.92 kB / 0.5827 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.3966, allocations: 7.302 MB / 0.5898 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3966, allocations: 4.031 kB / 0.5898 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.3974, allocations: 0.5156 MB / 0.5904 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3976, allocations: 51.64 kB / 0.5904 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.3976, allocations: 4 kB / 0.5904 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3979, allocations: 15.92 kB / 0.5904 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.3979, allocations: 23.97 kB / 0.5904 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.398, allocations: 15.98 kB / 0.5905 GB, free: 4.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004357/0.3984, allocations: 391 kB / 0.5908 GB, free: 4.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3984, allocations: 4 kB / 0.5908 GB, free: 4.555 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.3989, allocations: 131.8 kB / 0.591 GB, free: 4.426 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/0.4001, allocations: 1.075 MB / 0.592 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.4016, allocations: 0.5318 MB / 0.5925 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4016, allocations: 0 / 0.5925 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009665/0.4025, allocations: 335.6 kB / 0.5928 GB, free: 2.465 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.403, allocations: 93.84 kB / 0.5929 GB, free: 2.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/0.4099, allocations: 5.265 MB / 0.5981 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.4104, allocations: 0.9011 MB / 0.599 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.4107, allocations: 128.1 kB / 0.5991 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.4109, allocations: 139.4 kB / 0.5992 GB, free: 11.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4109, allocations: 0 / 0.5992 GB, free: 11.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.4549, allocations: 13.91 MB / 0.6128 GB, free: 14.01 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.73, allocations: 11.81 kB / 0.6128 GB, free: 14 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.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: 17.010576548986137]