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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 118.9 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3615/0.3615, allocations: 44.23 MB / 326.5 MB, free: 6.793 MB / 254.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.002251/0.002251, allocations: 75.88 kB / 462.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 60.99 MB / 0.5109 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004024/0.3364, allocations: 2.325 MB / 0.5132 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3377, allocations: 0.6606 MB / 0.5138 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3378, allocations: 5.5 kB / 0.5138 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.647e-05/0.3379, allocations: 35.97 kB / 0.5138 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.3381, allocations: 78.73 kB / 0.5139 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.3384, allocations: 91.73 kB / 0.514 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.3387, allocations: 341.6 kB / 0.5143 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.339, allocations: 120.5 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.3393, allocations: 149.1 kB / 0.5146 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.3395, allocations: 156.2 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.747e-05/0.3396, allocations: 32.5 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.3397, allocations: 33.75 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.3397, allocations: 71.39 kB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.3399, allocations: 155.7 kB / 0.515 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.3403, allocations: 376.9 kB / 0.5154 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3403, allocations: 0 / 0.5154 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3403, allocations: 1.469 kB / 0.5154 GB, free: 9.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3403, allocations: 0 / 0.5154 GB, free: 9.684 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009911/0.3413, allocations: 0.5865 MB / 0.516 GB, free: 9.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3413, allocations: 13.45 kB / 0.516 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.3414, allocations: 72.33 kB / 0.516 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.3415, allocations: 35.88 kB / 0.5161 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3416, allocations: 203 kB / 0.5163 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.3417, allocations: 21.41 kB / 0.5163 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.3417, allocations: 33 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.3422, allocations: 281.5 kB / 0.5166 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3422, allocations: 1.375 kB / 0.5166 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.3422, allocations: 14.75 kB / 0.5166 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3423, allocations: 6.875 kB / 0.5166 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.3427, allocations: 211.3 kB / 0.5168 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.3441, allocations: 1.02 MB / 0.5178 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.696e-05/0.3442, allocations: 34.86 kB / 0.5178 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.3443, allocations: 24.52 kB / 0.5179 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.3443, allocations: 0 / 0.5179 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.3443, allocations: 32.16 kB / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3443, allocations: 0 / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002177/0.3445, allocations: 83.2 kB / 0.518 GB, free: 7.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3445, allocations: 55.34 kB / 0.518 GB, free: 7.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.3448, allocations: 319 kB / 0.5183 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3448, allocations: 25.7 kB / 0.5183 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.3449, allocations: 239.5 kB / 0.5186 GB, free: 6.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.3449, allocations: 3.953 kB / 0.5186 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.345, allocations: 57.66 kB / 0.5186 GB, free: 6.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.345, allocations: 330.8 kB / 0.519 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3451, allocations: 63.97 kB / 0.519 GB, free: 6.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3453, allocations: 90.19 kB / 0.5191 GB, free: 6.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3454, allocations: 126.9 kB / 0.5192 GB, free: 6.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3454, allocations: 0 / 0.5192 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002915/0.3457, allocations: 233.5 kB / 0.5194 GB, free: 5.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3457, allocations: 7.938 kB / 0.5194 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3457, allocations: 7.984 kB / 0.5195 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3457, allocations: 0 / 0.5195 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.346, allocations: 59.83 kB / 0.5195 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.346, allocations: 8.031 kB / 0.5195 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.3462, allocations: 43.56 kB / 0.5196 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3462, allocations: 12 kB / 0.5196 GB, free: 5.855 MB / 382.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 9.482e-05/0.3463, allocations: 129.8 kB / 0.5197 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.3464, allocations: 19.84 kB / 0.5197 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.3464, allocations: 24.89 kB / 0.5197 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3464, allocations: 0 / 0.5197 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3464, allocations: 4 kB / 0.5197 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3464, allocations: 4 kB / 0.5197 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.3469, allocations: 0.511 MB / 0.5202 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3469, allocations: 0 / 0.5202 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.3469, allocations: 4 kB / 0.5203 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3469, allocations: 0 / 0.5203 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3469, allocations: 0 / 0.5203 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3469, allocations: 4 kB / 0.5203 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3469, allocations: 0 / 0.5203 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.345e-05/0.347, allocations: 109.8 kB / 0.5204 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.3471, allocations: 101 kB / 0.5205 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.3471, allocations: 0 / 0.5205 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.3472, allocations: 0 / 0.5205 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.3472, allocations: 4 kB / 0.5205 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3472, allocations: 0 / 0.5205 GB, free: 4.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.3474, allocations: 230 kB / 0.5207 GB, free: 4.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3474, allocations: 0 / 0.5207 GB, free: 4.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3476, allocations: 67.84 kB / 0.5207 GB, free: 4.535 MB / 382.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.000333/0.348, allocations: 0.6442 MB / 0.5214 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3482, allocations: 99.91 kB / 0.5215 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3482, allocations: 0 / 0.5215 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.3482, allocations: 8 kB / 0.5215 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3486, allocations: 24.88 kB / 0.5215 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3507, allocations: 2.226 MB / 0.5237 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3509, allocations: 0.7479 MB / 0.5244 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.351, allocations: 29.92 kB / 0.5244 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3511, allocations: 75.41 kB / 0.5245 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3511, allocations: 3.938 kB / 0.5245 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.381, allocations: 4.162 MB / 0.5286 GB, free: 12.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.797, allocations: 6.266 kB / 0.5286 GB, free: 12.34 MB / 398.1 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.840359604917467]