Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",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.001457/0.001457, allocations: 105.9 kB / 15.98 MB, free: 6.34 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.001651/0.001651, allocations: 185.2 kB / 16.9 MB, free: 6.184 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.51/1.51, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2177/0.2177, allocations: 43.52 MB / 313.6 MB, free: 0.6875 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.001512/0.001513, allocations: 64.48 kB / 382.3 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 57.8 MB / 440.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002822/0.1094, allocations: 2.352 MB / 442.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.1104, allocations: 0.632 MB / 443.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1105, allocations: 4 kB / 443.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.554e-05/0.1106, allocations: 31.77 kB / 443.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1108, allocations: 55.53 kB / 443.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1111, allocations: 79.92 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1113, allocations: 347.1 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1115, allocations: 155.7 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.1117, allocations: 139.6 kB / 443.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1119, allocations: 155.4 kB / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.112, allocations: 36 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-05/0.112, allocations: 32 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.1121, allocations: 79.73 kB / 444.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1122, allocations: 155.3 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1124, allocations: 370.7 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1124, allocations: 0 / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1124, allocations: 0 / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1124, allocations: 7.938 kB / 444.7 MB, free: 2.609 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000781/0.1132, allocations: 0.5772 MB / 445.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1133, allocations: 11.89 kB / 445.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.1133, allocations: 70.72 kB / 445.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.1134, allocations: 28.66 kB / 445.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1135, allocations: 203.8 kB / 445.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.1136, allocations: 33.2 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1136, allocations: 32.38 kB / 445.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.114, allocations: 282 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1141, allocations: 0 / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1141, allocations: 15.98 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1141, allocations: 8 kB / 446 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.1144, allocations: 214.5 kB / 446.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.1159, allocations: 1.028 MB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.546e-05/0.116, allocations: 34.52 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.116, allocations: 20.92 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1161, allocations: 0 / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1161, allocations: 46.5 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1161, allocations: 0 / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002034/0.1163, allocations: 73.41 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1164, allocations: 51.41 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.1167, allocations: 326.8 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1168, allocations: 25.7 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1169, allocations: 234.8 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.1169, allocations: 16.03 kB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.117, allocations: 57.59 kB / 448.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1171, allocations: 330.8 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1173, allocations: 63.97 kB / 448.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1174, allocations: 94.92 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1176, allocations: 122.2 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1176, allocations: 4 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003709/0.118, allocations: 229.4 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.118, allocations: 11.94 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.118, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.118, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1183, allocations: 55.91 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1183, allocations: 0 / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.1186, allocations: 43.52 kB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1186, allocations: 8 kB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001134/0.1187, allocations: 141.8 kB / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.1188, allocations: 23.66 kB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.1188, allocations: 24.89 kB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1188, allocations: 3.938 kB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1189, allocations: 0 / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1189, allocations: 0 / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.1194, allocations: 0.511 MB / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.1195, allocations: 0 / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.1195, allocations: 7.938 kB / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1195, allocations: 0 / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1195, allocations: 0 / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1195, allocations: 0 / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1195, allocations: 0 / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1197, allocations: 113.7 kB / 449.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.1198, allocations: 100.8 kB / 449.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.1198, allocations: 4 kB / 449.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1199, allocations: 0 / 449.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.1199, allocations: 3.984 kB / 449.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.12, allocations: 4 kB / 449.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.1202, allocations: 225.9 kB / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1202, allocations: 0 / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1205, allocations: 63.84 kB / 450.2 MB, free: 12.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003844/0.1209, allocations: 0.6366 MB / 450.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1211, allocations: 116.1 kB / 451 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1211, allocations: 96 / 451 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.1212, allocations: 15.98 kB / 451 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1215, allocations: 24.89 kB / 451 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.1243, allocations: 2.346 MB / 453.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1246, allocations: 0.7401 MB / 454.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1248, allocations: 25.94 kB / 454.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1249, allocations: 67.42 kB / 454.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1249, allocations: 0 / 454.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.1433, allocations: 3.965 MB / 458.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004289/0.1438, allocations: 195.7 kB / 458.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/2.878, allocations: 0 / 458.3 MB, free: 4.434 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches