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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 215.8 kB / 23.79 MB, free: 4.707 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.586/1.586, allocations: 207.6 MB / 234.6 MB, free: 9.984 MB / 190.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.2333/0.2333, allocations: 44.23 MB / 331.1 MB, free: 9.531 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 70.88 kB / 468.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1345, allocations: 61.04 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003877/0.1384, allocations: 2.327 MB / 0.5192 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1396, allocations: 0.6554 MB / 0.5198 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.1397, allocations: 4 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-05/0.1398, allocations: 43.58 kB / 0.5199 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.14, allocations: 79.27 kB / 0.5199 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1403, allocations: 87.89 kB / 0.52 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.1406, allocations: 343.2 kB / 0.5204 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.1409, allocations: 124.1 kB / 0.5205 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1411, allocations: 143.5 kB / 0.5206 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1414, allocations: 155.4 kB / 0.5208 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.1414, allocations: 35.94 kB / 0.5208 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.294e-05/0.1415, allocations: 36 kB / 0.5208 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1415, allocations: 71.81 kB / 0.5209 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1417, allocations: 159.2 kB / 0.521 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.1421, allocations: 374.5 kB / 0.5214 GB, free: 2.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1421, allocations: 3.938 kB / 0.5214 GB, free: 2.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1421, allocations: 0 / 0.5214 GB, free: 2.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1421, allocations: 0 / 0.5214 GB, free: 2.707 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009652/0.1431, allocations: 0.5094 MB / 0.5219 GB, free: 2.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1431, allocations: 8.031 kB / 0.5219 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.36e-05/0.1432, allocations: 8.844 kB / 0.5219 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.875e-05/0.1433, allocations: 70.72 kB / 0.522 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.1433, allocations: 36.75 kB / 0.522 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1435, allocations: 142.2 kB / 0.5222 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.1435, allocations: 25.03 kB / 0.5222 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.1436, allocations: 28.38 kB / 0.5222 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.1441, allocations: 278 kB / 0.5225 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1442, allocations: 0 / 0.5225 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.1442, allocations: 16 kB / 0.5225 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1442, allocations: 8 kB / 0.5225 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.1446, allocations: 214.5 kB / 0.5227 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.1464, allocations: 0.9745 MB / 0.5237 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.257e-05/0.1465, allocations: 38.56 kB / 0.5237 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.1466, allocations: 24.92 kB / 0.5237 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1466, allocations: 3.984 kB / 0.5237 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1466, allocations: 38.44 kB / 0.5238 GB, free: 160 kB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.1466, allocations: 0 / 0.5238 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002194/0.1468, allocations: 69.56 kB / 0.5238 GB, free: 84 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1469, allocations: 59.52 kB / 0.5239 GB, free: 12 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.1473, allocations: 320.1 kB / 0.5242 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1473, allocations: 25.7 kB / 0.5242 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1475, allocations: 239.4 kB / 0.5244 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1475, allocations: 11.94 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1476, allocations: 53.66 kB / 0.5245 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1478, allocations: 338.8 kB / 0.5248 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1479, allocations: 59.97 kB / 0.5249 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1481, allocations: 86.69 kB / 0.525 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.1483, allocations: 134.1 kB / 0.5251 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1483, allocations: 0 / 0.5251 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004367/0.1488, allocations: 233.4 kB / 0.5253 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1488, allocations: 15.88 kB / 0.5253 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1488, allocations: 0 / 0.5253 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1488, allocations: 0 / 0.5253 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.1491, allocations: 55.91 kB / 0.5254 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.1491, allocations: 11.92 kB / 0.5254 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1494, allocations: 43.61 kB / 0.5254 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1494, allocations: 12 kB / 0.5254 GB, free: 14.36 MB / 414.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.0001433/0.1496, allocations: 125.8 kB / 0.5256 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.1496, allocations: 23.84 kB / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.1497, allocations: 20.98 kB / 0.5256 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1497, allocations: 0 / 0.5256 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1497, allocations: 4 kB / 0.5256 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1497, allocations: 7.938 kB / 0.5256 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.1504, allocations: 490.4 kB / 0.5261 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1504, allocations: 4 kB / 0.5261 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.1505, allocations: 7.922 kB / 0.5261 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1505, allocations: 0 / 0.5261 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1505, allocations: 8 kB / 0.5261 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1505, allocations: 0 / 0.5261 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1505, allocations: 4.062 kB / 0.5261 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.1506, allocations: 101.8 kB / 0.5262 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.1507, allocations: 19.89 kB / 0.5262 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.1507, allocations: 3.984 kB / 0.5262 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1509, allocations: 4 kB / 0.5262 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.1509, allocations: 0 / 0.5262 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1509, allocations: 4.031 kB / 0.5262 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.1512, allocations: 231.1 kB / 0.5265 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1512, allocations: 0 / 0.5265 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1515, allocations: 67.84 kB / 0.5265 GB, free: 13.16 MB / 414.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.0005341/0.1521, allocations: 0.6326 MB / 0.5271 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.1523, allocations: 96.16 kB / 0.5272 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1523, allocations: 0 / 0.5272 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.1524, allocations: 15.94 kB / 0.5272 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1527, allocations: 24.91 kB / 0.5273 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.1558, allocations: 2.236 MB / 0.5295 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1562, allocations: 0.7479 MB / 0.5302 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1563, allocations: 25.92 kB / 0.5302 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1565, allocations: 71.42 kB / 0.5303 GB, free: 9.152 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1565, allocations: 0 / 0.5303 GB, free: 9.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1814, allocations: 4.463 MB / 0.5346 GB, free: 4.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.71, allocations: 11.95 kB / 0.5346 GB, free: 4.676 MB / 414.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.171850452024955]