Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001151/0.001151, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 77.61 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.12, allocations: 62.43 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.004158/0.1243, allocations: 2.015 MB / 481.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1263, allocations: 1.165 MB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.1265, allocations: 0 / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1268, allocations: 63.7 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1272, allocations: 91.48 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.1279, allocations: 143.6 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.1285, allocations: 473.7 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1286, allocations: 56.97 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1288, allocations: 167.1 kB / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.1291, allocations: 203 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.1292, allocations: 12 kB / 484 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.1297, allocations: 267.6 kB / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1299, allocations: 99.47 kB / 484.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.1302, allocations: 182.8 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008609/0.1311, allocations: 0.5646 MB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1311, allocations: 3.969 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1311, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.1311, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.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.001385/0.1325, allocations: 0.718 MB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1326, allocations: 12.03 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.1327, allocations: 94.7 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1328, allocations: 48.38 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.1333, allocations: 299.5 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.1333, allocations: 41.69 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.1334, allocations: 51.94 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.1344, allocations: 0.6349 MB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1344, allocations: 3.938 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.1345, allocations: 20 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.325e-05/0.1345, allocations: 41.27 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/0.1353, allocations: 0.5008 MB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.1381, allocations: 1.418 MB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.1389, allocations: 434.1 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.1391, allocations: 144.8 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.1392, allocations: 11.94 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1392, allocations: 34.56 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.1392, allocations: 0 / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.000952/0.1402, allocations: 0.5045 MB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1402, allocations: 59.34 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/0.1409, allocations: 0.5446 MB / 490.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.1409, allocations: 29.7 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1411, allocations: 224.1 kB / 490.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.1412, allocations: 90.75 kB / 491 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.1413, allocations: 93.92 kB / 491.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1415, allocations: 354.7 kB / 491.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1417, allocations: 156.2 kB / 491.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.1421, allocations: 252.8 kB / 491.8 MB, free: 8.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.146, allocations: 1.057 MB / 492.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.146, allocations: 0 / 492.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008384/0.1469, allocations: 0.5083 MB / 493.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1469, allocations: 4 kB / 493.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-05/0.147, allocations: 43.98 kB / 493.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.147, allocations: 4 kB / 493.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.1472, allocations: 43.91 kB / 493.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.1472, allocations: 4 kB / 493.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.1475, allocations: 55.31 kB / 493.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.1476, allocations: 28.36 kB / 493.6 MB, free: 7.148 MB / 366.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.0003266/0.1479, allocations: 225.5 kB / 493.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.148, allocations: 43.44 kB / 493.8 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009722/0.149, allocations: 0.5362 MB / 494.4 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.149, allocations: 11.92 kB / 494.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.149, allocations: 4 kB / 494.4 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.149, allocations: 3.984 kB / 494.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.1497, allocations: 429.1 kB / 494.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.369e-05/0.1497, allocations: 39.98 kB / 494.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.1499, allocations: 35.86 kB / 494.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1499, allocations: 0 / 494.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.15, allocations: 16 kB / 494.9 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.15, allocations: 4 kB / 494.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.15, allocations: 0 / 494.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.151, allocations: 0.7066 MB / 495.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.1512, allocations: 124.6 kB / 495.7 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.1513, allocations: 4 kB / 495.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1515, allocations: 11.98 kB / 495.8 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.1516, allocations: 23.92 kB / 495.8 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.1516, allocations: 19.98 kB / 495.8 MB, free: 4.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000434/0.152, allocations: 399 kB / 496.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.152, allocations: 0 / 496.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.1526, allocations: 147.9 kB / 496.3 MB, free: 4.297 MB / 366.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.001581/0.1542, allocations: 1.314 MB / 497.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009422/0.1551, allocations: 0.7187 MB / 498.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1551, allocations: 0 / 498.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.1556, allocations: 493 kB / 498.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.1561, allocations: 95.27 kB / 498.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/0.1638, allocations: 5.58 MB / 0.4927 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.1644, allocations: 0.8819 MB / 0.4936 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003038/0.1647, allocations: 124.1 kB / 0.4937 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.1649, allocations: 139.4 kB / 0.4938 GB, free: 10.61 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1649, allocations: 3.938 kB / 0.4938 GB, free: 10.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2353/0.4003, allocations: 12.57 MB / 0.5061 GB, free: 42.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.4005, allocations: 249.8 kB / 0.5063 GB, free: 42.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.543, allocations: 0 / 0.5063 GB, free: 42.63 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches