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.001645/0.001645, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001766/0.001766, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2329/0.2329, allocations: 46.95 MB / 360.8 MB, free: 4.008 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.002576/0.002576, allocations: 83.86 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3038, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003781/0.3075, allocations: 2.101 MB / 0.5628 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3091, allocations: 0.8452 MB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.3092, allocations: 7.938 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.3095, allocations: 71.58 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.3099, allocations: 155.2 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.3102, allocations: 95.64 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.3107, allocations: 481.7 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.3108, allocations: 25.27 kB / 0.5644 GB, free: 244 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.3111, allocations: 198.9 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.3114, allocations: 230.8 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.3114, allocations: 12 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.3116, allocations: 83.89 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.3118, allocations: 111.4 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.3119, allocations: 158.9 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.3126, allocations: 0.5072 MB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3126, allocations: 0 / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3126, allocations: 0 / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3126, allocations: 3.938 kB / 0.5657 GB, free: 14.95 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.001221/0.3138, allocations: 0.692 MB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3138, allocations: 8.031 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.314, allocations: 102.7 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.3141, allocations: 56.56 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.3146, allocations: 258 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.3147, allocations: 36.98 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.3147, allocations: 44 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3159, allocations: 0.7148 MB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3159, allocations: 0 / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.3159, allocations: 20 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/0.316, allocations: 57.22 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3173, allocations: 0.7428 MB / 0.5683 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.3196, allocations: 1.332 MB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.3204, allocations: 429 kB / 0.57 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3207, allocations: 157.2 kB / 0.5702 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.3208, allocations: 8.234 kB / 0.5702 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3208, allocations: 34.8 kB / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.3208, allocations: 0 / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001174/0.322, allocations: 0.5452 MB / 0.5707 GB, free: 9.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.322, allocations: 55.41 kB / 0.5708 GB, free: 9.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.3226, allocations: 0.5329 MB / 0.5713 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3227, allocations: 29.7 kB / 0.5713 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3229, allocations: 240.7 kB / 0.5716 GB, free: 8.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.323, allocations: 107.1 kB / 0.5717 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3231, allocations: 82.02 kB / 0.5718 GB, free: 8.508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3233, allocations: 358.9 kB / 0.5721 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.3236, allocations: 160.4 kB / 0.5723 GB, free: 7.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.324, allocations: 252.2 kB / 0.5725 GB, free: 7.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.3248, allocations: 438.9 kB / 0.5729 GB, free: 7.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3248, allocations: 0 / 0.5729 GB, free: 7.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009041/0.3257, allocations: 0.489 MB / 0.5734 GB, free: 6.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3257, allocations: 8 kB / 0.5734 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3257, allocations: 4 kB / 0.5734 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3257, allocations: 4.375 kB / 0.5734 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.3266, allocations: 223.8 kB / 0.5736 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.3313, allocations: 7.321 MB / 0.5808 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.3316, allocations: 59.5 kB / 0.5808 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.3316, allocations: 20 kB / 0.5808 GB, free: 14.83 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.0003117/0.332, allocations: 222.8 kB / 0.5811 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.332, allocations: 47.72 kB / 0.5811 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3331, allocations: 0.5566 MB / 0.5816 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3331, allocations: 0 / 0.5816 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3331, allocations: 4 kB / 0.5816 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3331, allocations: 3.984 kB / 0.5817 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.3337, allocations: 372.4 kB / 0.582 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3337, allocations: 0 / 0.582 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/0.3345, allocations: 207.8 kB / 0.5822 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3345, allocations: 0 / 0.5822 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.3345, allocations: 23.92 kB / 0.5822 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.3393, allocations: 7.306 MB / 0.5894 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3393, allocations: 0 / 0.5894 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/0.3402, allocations: 0.5077 MB / 0.5899 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3403, allocations: 55.62 kB / 0.5899 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.3403, allocations: 8 kB / 0.5899 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3406, allocations: 15.98 kB / 0.5899 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.3407, allocations: 23.95 kB / 0.59 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.3407, allocations: 19.92 kB / 0.59 GB, free: 5.121 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.3411, allocations: 387 kB / 0.5903 GB, free: 4.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3411, allocations: 0 / 0.5903 GB, free: 4.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.3416, allocations: 131.8 kB / 0.5905 GB, free: 4.617 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.001347/0.343, allocations: 1.083 MB / 0.5915 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.3445, allocations: 0.5398 MB / 0.5921 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3445, allocations: 0 / 0.5921 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3455, allocations: 343.7 kB / 0.5924 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.3461, allocations: 97.78 kB / 0.5925 GB, free: 2.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007461/0.3535, allocations: 5.258 MB / 0.5976 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3538, allocations: 289.7 kB / 0.5979 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.3542, allocations: 132.1 kB / 0.598 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3544, allocations: 143.4 kB / 0.5982 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3544, allocations: 0 / 0.5982 GB, free: 12.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.4003, allocations: 15.01 MB / 0.6128 GB, free: 13.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13, allocations: 6.125 kB / 0.6128 GB, free: 13.8 MB / 462.1 MB " [Timeout remaining time 647] (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: 16.23013559076935]