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.001747/0.001747, allocations: 100.4 kB / 20.48 MB, free: 1.367 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.002227/0.002227, allocations: 212.2 kB / 23.78 MB, free: 4.523 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.64/1.64, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2457/0.2457, allocations: 44.27 MB / 331.1 MB, free: 9.297 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.0023/0.0023, allocations: 76.5 kB / 468.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 61.04 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003731/0.1347, allocations: 2.168 MB / 0.519 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1358, allocations: 0.6203 MB / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1359, allocations: 8 kB / 0.5196 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.136, allocations: 47.58 kB / 0.5197 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1362, allocations: 67.34 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1365, allocations: 99.8 kB / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.137, allocations: 339.2 kB / 0.5202 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.1373, allocations: 124 kB / 0.5203 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.1376, allocations: 131.6 kB / 0.5204 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.138, allocations: 167.3 kB / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.712e-05/0.1381, allocations: 32 kB / 0.5206 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.1381, allocations: 32 kB / 0.5206 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1383, allocations: 71.77 kB / 0.5207 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.1385, allocations: 127.5 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.1391, allocations: 386.5 kB / 0.5212 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1391, allocations: 0 / 0.5212 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1391, allocations: 0 / 0.5212 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1392, allocations: 0 / 0.5212 GB, free: 2.785 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.001371/0.1405, allocations: 0.5094 MB / 0.5217 GB, free: 2.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.1406, allocations: 8.031 kB / 0.5217 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.353e-05/0.1406, allocations: 12.78 kB / 0.5217 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.1407, allocations: 74.7 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/0.1408, allocations: 36.75 kB / 0.5218 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.141, allocations: 150.2 kB / 0.5219 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.1411, allocations: 21.03 kB / 0.522 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.1412, allocations: 32.38 kB / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.142, allocations: 274 kB / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.142, allocations: 0 / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.142, allocations: 16 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.142, allocations: 8 kB / 0.5223 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.1428, allocations: 214.5 kB / 0.5225 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.1457, allocations: 0.9006 MB / 0.5234 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1458, allocations: 26.58 kB / 0.5234 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.1458, allocations: 24.91 kB / 0.5234 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1459, allocations: 4 kB / 0.5234 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1459, allocations: 42.44 kB / 0.5235 GB, free: 312 kB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/0.1459, allocations: 0 / 0.5235 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002656/0.1462, allocations: 77.5 kB / 0.5235 GB, free: 228 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.1462, allocations: 51.41 kB / 0.5236 GB, free: 164 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.1467, allocations: 324 kB / 0.5239 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1468, allocations: 29.7 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1469, allocations: 239.4 kB / 0.5242 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.147, allocations: 15.94 kB / 0.5242 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1471, allocations: 53.66 kB / 0.5242 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1473, allocations: 330.8 kB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1474, allocations: 64.11 kB / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.1476, allocations: 90.67 kB / 0.5247 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.1478, allocations: 126.1 kB / 0.5248 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1478, allocations: 0 / 0.5248 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004414/0.1482, allocations: 229.5 kB / 0.525 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1483, allocations: 11.92 kB / 0.525 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1483, allocations: 7.922 kB / 0.525 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1483, allocations: 4 kB / 0.525 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.1486, allocations: 56 kB / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1486, allocations: 0 / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1488, allocations: 43.61 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1489, allocations: 8 kB / 0.5251 GB, free: 14.52 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.0001412/0.149, allocations: 133.8 kB / 0.5253 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.1491, allocations: 19.84 kB / 0.5253 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.1491, allocations: 24.98 kB / 0.5253 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1491, allocations: 0 / 0.5253 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1491, allocations: 0 / 0.5253 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1491, allocations: 0 / 0.5253 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.1498, allocations: 478.4 kB / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1498, allocations: 4 kB / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.1498, allocations: 4 kB / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.1498, allocations: 0 / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1498, allocations: 4 kB / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1498, allocations: 0 / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1498, allocations: 7.875 kB / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.15, allocations: 105.8 kB / 0.5259 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.15, allocations: 19.89 kB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.1501, allocations: 8.094 kB / 0.5259 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1502, allocations: 0 / 0.5259 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.1502, allocations: 0 / 0.5259 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1502, allocations: 0 / 0.5259 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.1505, allocations: 231.1 kB / 0.5261 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1505, allocations: 0 / 0.5261 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1508, allocations: 67.84 kB / 0.5262 GB, free: 13.34 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.000497/0.1513, allocations: 0.6326 MB / 0.5268 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.1515, allocations: 104.2 kB / 0.5269 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1515, allocations: 0 / 0.5269 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.1516, allocations: 19.92 kB / 0.5269 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1519, allocations: 20.92 kB / 0.527 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.1549, allocations: 2.244 MB / 0.5292 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.155, allocations: 126.2 kB / 0.5293 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.1551, allocations: 29.92 kB / 0.5293 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1553, allocations: 71.41 kB / 0.5294 GB, free: 9.934 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1553, allocations: 0 / 0.5294 GB, free: 9.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.1838, allocations: 4.541 MB / 0.5338 GB, free: 5.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.08, allocations: 4.062 kB / 0.5338 GB, free: 5.387 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.593586402013898]