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.0008746/0.0008746, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001043/0.001043, allocations: 159.4 kB / 25.45 MB, free: 9.352 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.8193/0.8193, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 299.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.088e-05, allocations: 6.078 kB / 299.8 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01619/0.01621, allocations: 22.32 MB / 322.1 MB, free: 468 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.01812, allocations: 2.324 MB / 324.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.01825, allocations: 7.938 kB / 324.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.01866, allocations: 162.9 kB / 324.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.01907, allocations: 345.8 kB / 324.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.02048, allocations: 1.02 MB / 325.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.02111, allocations: 0.9105 MB / 326.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.02125, allocations: 72.81 kB / 326.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.02392, allocations: 2.911 MB / 329.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.02414, allocations: 255.2 kB / 330.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.02417, allocations: 28 kB / 330.1 MB, free: 8.414 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.02449, allocations: 247.5 kB / 330.3 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.02456, allocations: 103.6 kB / 330.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.02465, allocations: 143.7 kB / 330.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.02511, allocations: 0.6115 MB / 331.2 MB, free: 7.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.02511, allocations: 4 kB / 331.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02511, allocations: 0 / 331.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.02512, allocations: 0 / 331.2 MB, free: 7.312 MB / 314.7 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.0005312/0.02565, allocations: 0.5518 MB / 331.7 MB, free: 6.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.02568, allocations: 15.98 kB / 331.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.02588, allocations: 48.73 kB / 331.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.02617, allocations: 237 kB / 332 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.02619, allocations: 21.03 kB / 332.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.02622, allocations: 24.38 kB / 332.1 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.02659, allocations: 0.5542 MB / 332.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.0266, allocations: 12.02 kB / 332.6 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.02663, allocations: 20.12 kB / 332.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.02663, allocations: 8 kB / 332.7 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.02683, allocations: 189.8 kB / 332.9 MB, free: 5.496 MB / 314.7 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.001028/0.02786, allocations: 1.391 MB / 334.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.02806, allocations: 174.8 kB / 334.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.02814, allocations: 69.25 kB / 334.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.02818, allocations: 31.95 kB / 334.5 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.0282, allocations: 42.36 kB / 334.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.0282, allocations: 0 / 334.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.001381/0.02959, allocations: 0.8602 MB / 335.4 MB, free: 2.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.02961, allocations: 59.34 kB / 335.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.02976, allocations: 245.5 kB / 335.7 MB, free: 2.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.02978, allocations: 37.7 kB / 335.8 MB, free: 2.449 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.02986, allocations: 188.4 kB / 335.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.02991, allocations: 107.1 kB / 336 MB, free: 2.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.02997, allocations: 74.02 kB / 336.1 MB, free: 2.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003155/0.03028, allocations: 334.8 kB / 336.4 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.03038, allocations: 84.72 kB / 336.5 MB, free: 1.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.0305, allocations: 166.9 kB / 336.7 MB, free: 1.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.03074, allocations: 281.2 kB / 337 MB, free: 1.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.03074, allocations: 4 kB / 337 MB, free: 1.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003547/0.0311, allocations: 377.8 kB / 337.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.03111, allocations: 4 kB / 337.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.03112, allocations: 4 kB / 337.3 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.03135, allocations: 96.72 kB / 337.4 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.03148, allocations: 67.91 kB / 337.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003393/0.03182, allocations: 0.6576 MB / 338.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.0319, allocations: 8 kB / 338.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.03192, allocations: 24.22 kB / 338.2 MB, free: 15.89 MB / 330.7 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 9.981e-05/0.03202, allocations: 149.8 kB / 338.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.03206, allocations: 27.84 kB / 338.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.03243, allocations: 364.9 kB / 338.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.03244, allocations: 11.92 kB / 338.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.03244, allocations: 0 / 338.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003066/0.03275, allocations: 0.5513 MB / 339.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.03333, allocations: 0.6305 MB / 339.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.03333, allocations: 0 / 339.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.0334, allocations: 35.98 kB / 340 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.03363, allocations: 108.6 kB / 340.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.03365, allocations: 8 kB / 340.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002901/0.03394, allocations: 0.6383 MB / 340.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.03394, allocations: 3.984 kB / 340.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.03436, allocations: 478 kB / 341.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.03438, allocations: 19.86 kB / 341.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.03441, allocations: 15.94 kB / 341.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.03451, allocations: 8 kB / 341.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.03453, allocations: 23.95 kB / 341.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.03455, allocations: 8 kB / 341.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.03465, allocations: 181.2 kB / 341.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03465, allocations: 8.062 kB / 341.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.03491, allocations: 111.9 kB / 341.5 MB, free: 12.31 MB / 330.7 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.0001799/0.03509, allocations: 147.1 kB / 341.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.03539, allocations: 235.6 kB / 341.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.0354, allocations: 4 kB / 341.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.03553, allocations: 120.5 kB / 342 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.03598, allocations: 140.3 kB / 342.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.03668, allocations: 0.6121 MB / 342.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.202e-05/0.03677, allocations: 162.9 kB / 342.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.03683, allocations: 36.48 kB / 343 MB, free: 10.8 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03683, allocations: 0 / 343 MB, free: 10.8 MB / 330.7 MB Notification: Performance of Templates: time 0.005339/0.04217, allocations: 6.325 MB / 349.3 MB, free: 4.469 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/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/jenkins/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: 4.699311817996204]