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.001144/0.001144, allocations: 114.9 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 205.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3313, allocations: 62.43 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003091/0.3345, allocations: 1.965 MB / 0.5325 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3362, allocations: 1.164 MB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3363, allocations: 2.75 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.3366, allocations: 72.09 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.3369, allocations: 94.66 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.3373, allocations: 154.5 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.3379, allocations: 483.7 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.338, allocations: 58.34 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3381, allocations: 156.4 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.3384, allocations: 201.7 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.3384, allocations: 10.81 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.3389, allocations: 278.2 kB / 0.535 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.339, allocations: 92.22 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.3392, allocations: 183.9 kB / 0.5353 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.3399, allocations: 0.558 MB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.34, allocations: 1.094 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.34, allocations: 0 / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.34, allocations: 0 / 0.5358 GB, free: 9.445 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001016/0.341, allocations: 0.7338 MB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3411, allocations: 9.031 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.3412, allocations: 99.28 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.3413, allocations: 47.75 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3417, allocations: 293.8 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.3418, allocations: 41.3 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.3418, allocations: 52.19 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3429, allocations: 0.6293 MB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3429, allocations: 0 / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.3429, allocations: 28.45 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/0.343, allocations: 37.3 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/0.344, allocations: 0.5041 MB / 0.5383 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.3468, allocations: 1.416 MB / 0.5396 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.3475, allocations: 437.2 kB / 0.5401 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.3478, allocations: 141.1 kB / 0.5402 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.3479, allocations: 17.75 kB / 0.5402 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3479, allocations: 39.78 kB / 0.5402 GB, free: 6.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/0.3479, allocations: 4.938 kB / 0.5402 GB, free: 6.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009879/0.3489, allocations: 0.4909 MB / 0.5407 GB, free: 6.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3489, allocations: 54.53 kB / 0.5408 GB, free: 6.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/0.3497, allocations: 0.5517 MB / 0.5413 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3497, allocations: 30.92 kB / 0.5413 GB, free: 5.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3499, allocations: 223.7 kB / 0.5416 GB, free: 5.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.35, allocations: 90.36 kB / 0.5416 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.3502, allocations: 89.61 kB / 0.5417 GB, free: 5.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3504, allocations: 361.1 kB / 0.5421 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3507, allocations: 159.1 kB / 0.5422 GB, free: 5.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.3511, allocations: 257.9 kB / 0.5425 GB, free: 5.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.3547, allocations: 1.049 MB / 0.5435 GB, free: 4.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3547, allocations: 0 / 0.5435 GB, free: 4.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008058/0.3555, allocations: 0.5044 MB / 0.544 GB, free: 3.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3555, allocations: 4 kB / 0.544 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-05/0.3556, allocations: 43.98 kB / 0.544 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3556, allocations: 4 kB / 0.544 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.3558, allocations: 39.86 kB / 0.5441 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3559, allocations: 7.984 kB / 0.5441 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3562, allocations: 55.78 kB / 0.5441 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.3562, allocations: 28 kB / 0.5442 GB, free: 3.395 MB / 398.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.0003263/0.3565, allocations: 229.5 kB / 0.5444 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.3566, allocations: 43.44 kB / 0.5444 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/0.3575, allocations: 0.5323 MB / 0.5449 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3576, allocations: 4 kB / 0.5449 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3576, allocations: 0 / 0.5449 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3576, allocations: 4 kB / 0.545 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.3582, allocations: 437.1 kB / 0.5454 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.365e-05/0.3583, allocations: 39.98 kB / 0.5454 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3584, allocations: 32 kB / 0.5454 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3584, allocations: 3.984 kB / 0.5454 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.3585, allocations: 12 kB / 0.5455 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3585, allocations: 4 kB / 0.5455 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3585, allocations: 0 / 0.5455 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3595, allocations: 0.7144 MB / 0.5462 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3597, allocations: 124.6 kB / 0.5463 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.3597, allocations: 4 kB / 0.5463 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.3599, allocations: 8 kB / 0.5463 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.36, allocations: 23.97 kB / 0.5463 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.36, allocations: 16 kB / 0.5463 GB, free: 1.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004104/0.3604, allocations: 403 kB / 0.5467 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3604, allocations: 0 / 0.5467 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.3609, allocations: 151.8 kB / 0.5469 GB, free: 0.5391 MB / 398.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.001425/0.3624, allocations: 1.31 MB / 0.5481 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.3632, allocations: 0.6796 MB / 0.5488 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3632, allocations: 0 / 0.5488 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.3637, allocations: 488.2 kB / 0.5493 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3642, allocations: 94.66 kB / 0.5493 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/0.3707, allocations: 5.305 MB / 0.5545 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.3711, allocations: 0.8857 MB / 0.5554 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.3714, allocations: 120.1 kB / 0.5555 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.3716, allocations: 137.4 kB / 0.5556 GB, free: 7.176 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3716, allocations: 0 / 0.5556 GB, free: 7.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.4073, allocations: 13.02 MB / 0.5684 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.872, allocations: 18.56 kB / 0.5684 GB, free: 10.36 MB / 430.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