Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 83.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3247, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003272/0.328, allocations: 2.21 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3298, allocations: 1.186 MB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.3299, allocations: 7.094 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.3301, allocations: 67.47 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.3304, allocations: 93.36 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.3309, allocations: 191.3 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.3314, allocations: 0.4965 MB / 0.5348 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.3315, allocations: 56.67 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.3317, allocations: 176.9 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.332, allocations: 202.4 kB / 0.5352 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.332, allocations: 13.78 kB / 0.5352 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.3325, allocations: 328.2 kB / 0.5355 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3327, allocations: 106 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3328, allocations: 182.4 kB / 0.5358 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.3336, allocations: 0.6033 MB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3336, allocations: 0 / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3336, allocations: 0 / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3336, allocations: 1.25 kB / 0.5364 GB, free: 9.137 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001238/0.3349, allocations: 0.7593 MB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3349, allocations: 8.812 kB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.335, allocations: 93.55 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.3354, allocations: 92.75 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.3358, allocations: 300.5 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3358, allocations: 32.72 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.3359, allocations: 48.38 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3369, allocations: 0.6634 MB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3369, allocations: 0 / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.337, allocations: 16.47 kB / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.337, allocations: 21.84 kB / 0.5384 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.3379, allocations: 490.2 kB / 0.5388 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.34, allocations: 1.514 MB / 0.5403 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.3406, allocations: 303.1 kB / 0.5406 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.3409, allocations: 143.1 kB / 0.5407 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.819e-05/0.341, allocations: 17.45 kB / 0.5407 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.341, allocations: 36.56 kB / 0.5408 GB, free: 6.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.341, allocations: 0 / 0.5408 GB, free: 6.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001349/0.3424, allocations: 0.5024 MB / 0.5413 GB, free: 5.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.3425, allocations: 105 kB / 0.5414 GB, free: 5.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006213/0.3431, allocations: 0.5432 MB / 0.5419 GB, free: 5.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.3432, allocations: 26.86 kB / 0.5419 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3434, allocations: 240.4 kB / 0.5422 GB, free: 5.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.3434, allocations: 77.11 kB / 0.5422 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3436, allocations: 84.45 kB / 0.5423 GB, free: 5.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3438, allocations: 360.8 kB / 0.5426 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.3441, allocations: 150.8 kB / 0.5428 GB, free: 4.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.3446, allocations: 276 kB / 0.5431 GB, free: 4.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008358/0.3455, allocations: 447 kB / 0.5435 GB, free: 4.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3455, allocations: 1.438 kB / 0.5435 GB, free: 4.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001086/0.3466, allocations: 0.5031 MB / 0.544 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3466, allocations: 4 kB / 0.544 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.936e-05/0.3467, allocations: 43.98 kB / 0.544 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3467, allocations: 7.938 kB / 0.544 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3469, allocations: 44.38 kB / 0.5441 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.347, allocations: 19.86 kB / 0.5441 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.3474, allocations: 67.5 kB / 0.5442 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.3474, allocations: 24 kB / 0.5442 GB, free: 3.422 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0002836/0.3477, allocations: 209.6 kB / 0.5444 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3478, allocations: 43.72 kB / 0.5444 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.3488, allocations: 445.1 kB / 0.5448 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.3488, allocations: 11.98 kB / 0.5449 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3488, allocations: 0 / 0.5449 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3488, allocations: 0 / 0.5449 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.3495, allocations: 385.3 kB / 0.5452 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.811e-05/0.3496, allocations: 39.98 kB / 0.5453 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3497, allocations: 27.91 kB / 0.5453 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3497, allocations: 0 / 0.5453 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3498, allocations: 19.92 kB / 0.5453 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3498, allocations: 0 / 0.5453 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3498, allocations: 11.94 kB / 0.5453 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.3507, allocations: 0.6018 MB / 0.5459 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3509, allocations: 124.8 kB / 0.546 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.351, allocations: 15.88 kB / 0.546 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3512, allocations: 19.97 kB / 0.5461 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.3513, allocations: 19.98 kB / 0.5461 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.3514, allocations: 16 kB / 0.5461 GB, free: 1.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004555/0.3518, allocations: 391 kB / 0.5465 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3518, allocations: 0 / 0.5465 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006363/0.3525, allocations: 139.8 kB / 0.5466 GB, free: 0.8477 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * 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.00154/0.354, allocations: 1.217 MB / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3552, allocations: 0.6562 MB / 0.5484 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3552, allocations: 0 / 0.5484 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.3559, allocations: 489.2 kB / 0.5489 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.3566, allocations: 126.3 kB / 0.549 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007651/0.3643, allocations: 5.179 MB / 0.5541 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.3649, allocations: 0.8737 MB / 0.5549 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002668/0.3652, allocations: 87.3 kB / 0.555 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3654, allocations: 119.4 kB / 0.5551 GB, free: 7.715 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3654, allocations: 3.938 kB / 0.5551 GB, free: 7.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.406, allocations: 13.07 MB / 0.5679 GB, free: 10.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.077, allocations: 19.52 kB / 0.5679 GB, free: 10.85 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches