Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.001024/0.001024, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.0012/0.0012, allocations: 158.8 kB / 25.75 MB, free: 8.582 MB / 18.57 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 0.9331/0.9331, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 251.2 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.954e-05, allocations: 5.969 kB / 251.2 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03432/0.03435, allocations: 39.53 MB / 290.7 MB, free: 168 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.0366, allocations: 2.093 MB / 292.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.03684, allocations: 7.938 kB / 292.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007219/0.03757, allocations: 166.9 kB / 293 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.03814, allocations: 329.9 kB / 293.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.03874, allocations: 291.3 kB / 293.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000842/0.03958, allocations: 0.8364 MB / 294.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.03977, allocations: 72.88 kB / 294.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09689/0.1367, allocations: 43.98 MB / 338.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.1372, allocations: 251.2 kB / 338.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.1372, allocations: 32 kB / 338.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1373, allocations: 43.92 kB / 338.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.255e-05/0.1374, allocations: 99.66 kB / 338.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1376, allocations: 139.7 kB / 339 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.138, allocations: 279.1 kB / 339.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.138, allocations: 0 / 339.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.138, allocations: 0 / 339.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.138, allocations: 0 / 339.3 MB, free: 15.12 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007438/0.1387, allocations: 0.6204 MB / 339.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1388, allocations: 11.98 kB / 339.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.139, allocations: 80.55 kB / 340 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1393, allocations: 236 kB / 340.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1393, allocations: 20.88 kB / 340.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.1394, allocations: 32.38 kB / 340.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1397, allocations: 417.6 kB / 340.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1397, allocations: 4.125 kB / 340.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1397, allocations: 15.94 kB / 340.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1398, allocations: 8 kB / 340.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1399, allocations: 118.8 kB / 340.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1411, allocations: 1.426 MB / 342.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1414, allocations: 127.2 kB / 342.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.1414, allocations: 59.97 kB / 342.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1415, allocations: 11.94 kB / 342.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1415, allocations: 37.39 kB / 342.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 5.1e-06/0.1415, allocations: 4 kB / 342.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001458/0.143, allocations: 0.7269 MB / 343.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.143, allocations: 59.39 kB / 343.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1432, allocations: 277.5 kB / 343.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1432, allocations: 29.7 kB / 343.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.1433, allocations: 235.1 kB / 343.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.1433, allocations: 91.19 kB / 343.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.1434, allocations: 75.3 kB / 344 MB, free: 10.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1435, allocations: 0.5079 MB / 344.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.1436, allocations: 43.97 kB / 344.5 MB, free: 9.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1438, allocations: 179.6 kB / 344.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.144, allocations: 255.7 kB / 344.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.144, allocations: 0 / 344.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004102/0.1444, allocations: 324.7 kB / 345.3 MB, free: 8.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1444, allocations: 8 kB / 345.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1444, allocations: 0 / 345.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.1447, allocations: 63.31 kB / 345.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.1448, allocations: 63.91 kB / 345.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.1467, allocations: 3.535 MB / 348.9 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1468, allocations: 8.094 kB / 348.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1468, allocations: 20 kB / 348.9 MB, free: 4.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1469, allocations: 180.4 kB / 349.1 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.147, allocations: 35.8 kB / 349.2 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.147, allocations: 33.95 kB / 349.2 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.147, allocations: 4 kB / 349.2 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.147, allocations: 0 / 349.2 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003737/0.1474, allocations: 0.5033 MB / 349.7 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.148, allocations: 0.5902 MB / 350.3 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.148, allocations: 0 / 350.3 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1481, allocations: 43.92 kB / 350.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.1483, allocations: 55.55 kB / 350.4 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1483, allocations: 8.031 kB / 350.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008706/0.1492, allocations: 1.787 MB / 352.2 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1492, allocations: 0 / 352.2 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.1496, allocations: 427.5 kB / 352.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.1496, allocations: 31.91 kB / 352.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1496, allocations: 8 kB / 352.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.1497, allocations: 7.938 kB / 352.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1498, allocations: 15.97 kB / 352.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1498, allocations: 15.98 kB / 352.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1499, allocations: 184.6 kB / 352.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1499, allocations: 0 / 352.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.1502, allocations: 84 kB / 352.9 MB, free: 440 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.1503, allocations: 107.2 kB / 353 MB, free: 320 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09657/0.2469, allocations: 0.5172 MB / 353.6 MB, free: 113.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2469, allocations: 3.219 kB / 353.6 MB, free: 113.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.2472, allocations: 268.9 kB / 353.8 MB, free: 113.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.2479, allocations: 134.8 kB / 354 MB, free: 113.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.2492, allocations: 0.5917 MB / 354.6 MB, free: 113.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.821e-05/0.2493, allocations: 97.23 kB / 354.6 MB, free: 113.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.2495, allocations: 48.16 kB / 354.7 MB, free: 113.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.2495, allocations: 35.17 kB / 354.7 MB, free: 113.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2495, allocations: 1.406 kB / 354.7 MB, free: 113.1 MB / 330.7 MB Notification: Performance of Templates: time 0.006557/0.2561, allocations: 5.189 MB / 359.9 MB, free: 109.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0097764108795673]