Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004971/0.004971, allocations: 100.3 kB / 15.87 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001125, allocations: 192.5 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 222.6 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.49 MB / 313.5 MB, free: 8.637 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 382.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09824, allocations: 57.78 MB / 439.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002627/0.1009, allocations: 2.001 MB / 441.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1023, allocations: 1.185 MB / 443.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.1024, allocations: 0 / 443.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1026, allocations: 63.66 kB / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1028, allocations: 99.53 kB / 443.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.1032, allocations: 143.5 kB / 443.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.1036, allocations: 0.5719 MB / 444 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.1037, allocations: 57 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1038, allocations: 151.1 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.104, allocations: 207 kB / 444.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.1041, allocations: 16 kB / 444.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.1044, allocations: 263.6 kB / 444.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.256e-05/0.1046, allocations: 103.4 kB / 444.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1047, allocations: 178.8 kB / 445 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.1052, allocations: 0.5529 MB / 445.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1052, allocations: 0 / 445.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1052, allocations: 0 / 445.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1052, allocations: 0 / 445.5 MB, free: 9.426 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0008194/0.106, allocations: 0.7335 MB / 446.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1061, allocations: 8.031 kB / 446.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.817e-05/0.1062, allocations: 98.7 kB / 446.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.1063, allocations: 44.38 kB / 446.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1066, allocations: 303.6 kB / 446.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1066, allocations: 37.69 kB / 446.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.1067, allocations: 51.94 kB / 446.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.1074, allocations: 0.631 MB / 447.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1075, allocations: 3.984 kB / 447.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.1075, allocations: 20 kB / 447.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.1075, allocations: 37.3 kB / 447.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.1082, allocations: 0.5085 MB / 448 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.1102, allocations: 1.414 MB / 449.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.1108, allocations: 442 kB / 449.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.1111, allocations: 144.7 kB / 450 MB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.1111, allocations: 19.91 kB / 450 MB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1111, allocations: 30.56 kB / 450 MB, free: 4.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1111, allocations: 3.938 kB / 450 MB, free: 4.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008125/0.112, allocations: 0.5006 MB / 450.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.112, allocations: 55.41 kB / 450.6 MB, free: 4.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.1125, allocations: 0.5446 MB / 451.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1125, allocations: 29.7 kB / 451.1 MB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1127, allocations: 224.1 kB / 451.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.1127, allocations: 86.73 kB / 451.4 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1129, allocations: 90.02 kB / 451.5 MB, free: 3.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.113, allocations: 362.7 kB / 451.9 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.1132, allocations: 156.2 kB / 452 MB, free: 2.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.1135, allocations: 252.7 kB / 452.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/0.1171, allocations: 1.057 MB / 453.3 MB, free: 1.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1171, allocations: 0 / 453.3 MB, free: 1.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007079/0.1178, allocations: 0.5005 MB / 453.8 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1179, allocations: 8 kB / 453.8 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.87e-05/0.1179, allocations: 39.98 kB / 453.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1179, allocations: 4 kB / 453.9 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1181, allocations: 39.92 kB / 453.9 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1182, allocations: 12.34 kB / 453.9 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1184, allocations: 63.27 kB / 454 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.1184, allocations: 20 kB / 454 MB, free: 0.582 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002387/0.1187, allocations: 225.2 kB / 454.2 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.1187, allocations: 39.52 kB / 454.3 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1527/0.2715, allocations: 0.5365 MB / 454.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2715, allocations: 5.531 kB / 454.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2715, allocations: 3.281 kB / 454.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2715, allocations: 0 / 454.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.2721, allocations: 428.3 kB / 455.2 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.2722, allocations: 37.22 kB / 455.3 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2723, allocations: 27.67 kB / 455.3 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.2724, allocations: 7 kB / 455.3 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.2724, allocations: 15.27 kB / 455.3 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2724, allocations: 0 / 455.3 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2724, allocations: 1.609 kB / 455.3 MB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.2732, allocations: 0.7157 MB / 456 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.2733, allocations: 128.8 kB / 456.2 MB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.2734, allocations: 11.3 kB / 456.2 MB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2736, allocations: 4.719 kB / 456.2 MB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.2736, allocations: 24.58 kB / 456.2 MB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.2737, allocations: 15.22 kB / 456.2 MB, free: 49.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003238/0.274, allocations: 405 kB / 456.6 MB, free: 49.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.274, allocations: 0 / 456.6 MB, free: 49.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.2745, allocations: 148.8 kB / 456.8 MB, free: 49.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * 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.001091/0.2756, allocations: 1.304 MB / 458.1 MB, free: 48.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.2762, allocations: 0.6741 MB / 458.7 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2762, allocations: 5.594 kB / 458.8 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.2765, allocations: 496.8 kB / 459.2 MB, free: 47.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.2769, allocations: 85.8 kB / 459.3 MB, free: 47.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.2825, allocations: 5.582 MB / 464.9 MB, free: 45.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2827, allocations: 0.8769 MB / 465.8 MB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.283, allocations: 123 kB / 465.9 MB, free: 44.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.2831, allocations: 135.1 kB / 466 MB, free: 44.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2831, allocations: 0 / 466 MB, free: 44.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.111/2.394, allocations: 12.27 MB / 478.3 MB, free: 43.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/2.394, allocations: 248.7 kB / 478.5 MB, free: 43.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/4.175, allocations: 0 / 478.5 MB, free: 43.4 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches