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.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.001449/0.001449, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.001571/0.001571, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.296/1.296, allocations: 207.6 MB / 232.5 MB, free: 3.941 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.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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="cs",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="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.001619/0.001619, allocations: 56.44 kB / 343 MB, free: 9.961 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.08257, allocations: 49.12 MB / 392.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02986/0.1124, allocations: 24.72 MB / 416.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.1158, allocations: 2.511 MB / 419.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1159, allocations: 7.938 kB / 419.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.1164, allocations: 159 kB / 419.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.117, allocations: 338.2 kB / 419.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.1191, allocations: 0.9664 MB / 420.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009765/0.1201, allocations: 0.8992 MB / 421.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1202, allocations: 72.56 kB / 421.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.1244, allocations: 2.74 MB / 424.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.1248, allocations: 282.9 kB / 424.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.1248, allocations: 32 kB / 424.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.1253, allocations: 243.6 kB / 425.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1254, allocations: 99.66 kB / 425.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1257, allocations: 195.2 kB / 425.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1264, allocations: 0.5801 MB / 426 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1264, allocations: 0 / 426 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1264, allocations: 0 / 426 MB, free: 6.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1264, allocations: 0 / 426 MB, free: 6.746 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.0008973/0.1273, allocations: 0.6387 MB / 426.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1273, allocations: 8.031 kB / 426.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.357e-05/0.1273, allocations: 12.75 kB / 426.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.472e-05/0.1274, allocations: 58.73 kB / 426.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.1277, allocations: 52.67 kB / 426.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.1282, allocations: 307.6 kB / 427 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.1282, allocations: 16.94 kB / 427.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.1282, allocations: 28.12 kB / 427.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.1287, allocations: 338.2 kB / 427.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1288, allocations: 3.984 kB / 427.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.1288, allocations: 15.94 kB / 427.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1288, allocations: 12 kB / 427.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.1291, allocations: 189.5 kB / 427.6 MB, free: 4.953 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.002151/0.1313, allocations: 2.108 MB / 429.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1316, allocations: 178.4 kB / 429.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1317, allocations: 76.84 kB / 430 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.1319, allocations: 251.5 kB / 430.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.132, allocations: 38.56 kB / 430.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.132, allocations: 0 / 430.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002535/0.1345, allocations: 1.019 MB / 431.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1345, allocations: 63.41 kB / 431.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1348, allocations: 262.5 kB / 431.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1349, allocations: 37.69 kB / 431.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.135, allocations: 188.4 kB / 431.8 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.1351, allocations: 111 kB / 431.9 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1352, allocations: 66.08 kB / 432 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1354, allocations: 342.8 kB / 432.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1355, allocations: 88.72 kB / 432.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1357, allocations: 170.6 kB / 432.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.1361, allocations: 289 kB / 432.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1361, allocations: 4 kB / 432.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005981/0.1367, allocations: 369.9 kB / 433.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1367, allocations: 8 kB / 433.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1368, allocations: 0 / 433.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/0.1372, allocations: 105 kB / 433.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.1374, allocations: 67.91 kB / 433.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005951/0.138, allocations: 0.6538 MB / 434.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1382, allocations: 8 kB / 434.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.1382, allocations: 20 kB / 434.1 MB, free: 13.96 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.0001719/0.1384, allocations: 153.8 kB / 434.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/0.1384, allocations: 39.75 kB / 434.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.1391, allocations: 376.8 kB / 434.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1391, allocations: 0 / 434.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1391, allocations: 7.984 kB / 434.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005582/0.1397, allocations: 0.5513 MB / 435.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1408, allocations: 0.7348 MB / 435.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1408, allocations: 0 / 435.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.1409, allocations: 35.97 kB / 436 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.1414, allocations: 100.7 kB / 436.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1414, allocations: 4 kB / 436.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005458/0.1419, allocations: 0.6499 MB / 436.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1419, allocations: 3.938 kB / 436.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/0.1427, allocations: 488.6 kB / 437.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.1428, allocations: 105 kB / 437.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1429, allocations: 8.094 kB / 437.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.1431, allocations: 11.94 kB / 437.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1431, allocations: 11.98 kB / 437.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.1432, allocations: 15.98 kB / 437.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.1434, allocations: 201.9 kB / 437.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1434, allocations: 8 kB / 437.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.1438, allocations: 115.8 kB / 437.7 MB, free: 10.11 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.001221/0.145, allocations: 1.051 MB / 438.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.1455, allocations: 235.4 kB / 439 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1456, allocations: 0 / 439 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.1458, allocations: 112.6 kB / 439.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.1468, allocations: 168.5 kB / 439.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.1507, allocations: 3.089 MB / 442.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1511, allocations: 0.7606 MB / 443.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.1513, allocations: 71.12 kB / 443.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.1515, allocations: 99.39 kB / 443.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1515, allocations: 0 / 443.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.1837, allocations: 10.38 MB / 453.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.44, allocations: 12.06 kB / 453.6 MB, free: 9.855 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/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/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: 13.991688850976061]