Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.001208/0.001208, allocations: 115.9 kB / 18.45 MB, free: 4.586 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.00121/0.00121, allocations: 190.9 kB / 21.39 MB, free: 1.652 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.308/1.308, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",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.001583/0.001583, allocations: 51.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08756, allocations: 49.13 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02871/0.1163, allocations: 24.7 MB / 416.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.1196, allocations: 2.523 MB / 418.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1198, allocations: 8 kB / 418.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.1203, allocations: 159 kB / 418.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005899/0.1209, allocations: 330.2 kB / 419.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.123, allocations: 0.9742 MB / 420.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1241, allocations: 0.8954 MB / 421 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1242, allocations: 84.53 kB / 421.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.1284, allocations: 2.728 MB / 423.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.1288, allocations: 290.9 kB / 424.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.1288, allocations: 28 kB / 424.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.1294, allocations: 239.7 kB / 424.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1295, allocations: 103.6 kB / 424.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.1297, allocations: 187.2 kB / 424.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.1304, allocations: 0.5839 MB / 425.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1304, allocations: 0 / 425.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1304, allocations: 0 / 425.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1304, allocations: 0 / 425.2 MB, free: 6.777 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008949/0.1313, allocations: 0.6387 MB / 425.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1314, allocations: 12.03 kB / 425.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.484e-05/0.1314, allocations: 66.72 kB / 425.9 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.1318, allocations: 48.73 kB / 426 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1323, allocations: 303.6 kB / 426.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1323, allocations: 20.94 kB / 426.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.1324, allocations: 24.38 kB / 426.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.1329, allocations: 342.2 kB / 426.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1329, allocations: 0 / 426.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1329, allocations: 12 kB / 426.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.133, allocations: 8 kB / 426.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.1333, allocations: 189.5 kB / 426.9 MB, free: 5 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1355, allocations: 2.119 MB / 429 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.1358, allocations: 170.5 kB / 429.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1359, allocations: 80.77 kB / 429.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.1361, allocations: 247.3 kB / 429.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1362, allocations: 42.56 kB / 429.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.1362, allocations: 0 / 429.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002459/0.1386, allocations: 1.027 MB / 430.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1387, allocations: 51.41 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1389, allocations: 266.5 kB / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.139, allocations: 33.7 kB / 430.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1391, allocations: 184.5 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.335e-05/0.1392, allocations: 107.1 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1393, allocations: 74.06 kB / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1395, allocations: 342.8 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1396, allocations: 84.7 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1399, allocations: 170.5 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.1403, allocations: 289 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1403, allocations: 4 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006046/0.1409, allocations: 373.9 kB / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1409, allocations: 8.312 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1409, allocations: 4 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.1413, allocations: 88.8 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.1415, allocations: 75.83 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005896/0.1421, allocations: 0.6499 MB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1423, allocations: 8 kB / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1423, allocations: 24.06 kB / 433.3 MB, free: 14.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.1425, allocations: 161.7 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.1425, allocations: 35.75 kB / 433.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006464/0.1432, allocations: 372.9 kB / 433.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1432, allocations: 0 / 433.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1432, allocations: 0 / 433.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000566/0.1438, allocations: 0.5513 MB / 434.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1449, allocations: 0.7386 MB / 435.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1449, allocations: 0 / 435.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.145, allocations: 39.98 kB / 435.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.1455, allocations: 108.7 kB / 435.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1455, allocations: 4 kB / 435.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005467/0.146, allocations: 0.6382 MB / 436 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.146, allocations: 4.031 kB / 436 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.1468, allocations: 492.6 kB / 436.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.1469, allocations: 97 kB / 436.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.1469, allocations: 11.98 kB / 436.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1471, allocations: 8 kB / 436.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.1472, allocations: 19.97 kB / 436.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.1472, allocations: 19.98 kB / 436.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.1474, allocations: 194 kB / 436.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1474, allocations: 0 / 436.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.1478, allocations: 115.9 kB / 436.9 MB, free: 10.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.149, allocations: 1.058 MB / 438 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.1495, allocations: 235.5 kB / 438.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1495, allocations: 0.6875 kB / 438.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1497, allocations: 115.8 kB / 438.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.1506, allocations: 176.6 kB / 438.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.1546, allocations: 3.089 MB / 441.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.155, allocations: 0.7645 MB / 442.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.1553, allocations: 63.22 kB / 442.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1554, allocations: 91.41 kB / 442.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1554, allocations: 8 kB / 442.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0546/0.21, allocations: 10.36 MB / 452.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.66, allocations: 12 kB / 452.9 MB, free: 9.926 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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: 14.037343563046306]