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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 105.5 kB / 18.4 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 183 kB / 19.33 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001475/0.001475, allocations: 59.92 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1067, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2702/0.377, allocations: 24.58 MB / 400.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.381, allocations: 2.48 MB / 402.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.3814, allocations: 4.781 kB / 402.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.382, allocations: 162.2 kB / 403.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007898/0.3828, allocations: 332.2 kB / 403.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.3858, allocations: 0.9627 MB / 404.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.3872, allocations: 0.9006 MB / 405.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.3874, allocations: 109.8 kB / 405.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.3925, allocations: 2.727 MB / 408.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005643/0.3931, allocations: 268.9 kB / 408.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.3932, allocations: 30.09 kB / 408.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.3939, allocations: 239.7 kB / 408.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.394, allocations: 98.69 kB / 408.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3943, allocations: 194 kB / 408.9 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008306/0.3951, allocations: 0.5821 MB / 409.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3951, allocations: 0 / 409.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3951, allocations: 0 / 409.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3951, allocations: 5.25 kB / 409.5 MB, free: 9.508 MB / 334.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.0009656/0.3961, allocations: 0.6154 MB / 410.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3962, allocations: 12.95 kB / 410.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004018/0.3966, allocations: 54.14 kB / 410.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.397, allocations: 297 kB / 410.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.3971, allocations: 23.22 kB / 410.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3971, allocations: 24.72 kB / 410.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.3977, allocations: 340.5 kB / 410.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.3977, allocations: 5.562 kB / 410.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.3978, allocations: 12.86 kB / 410.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3978, allocations: 8.25 kB / 410.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.3982, allocations: 187 kB / 411.1 MB, free: 8.266 MB / 334.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.002321/0.4005, allocations: 2.117 MB / 413.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.4008, allocations: 181.9 kB / 413.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.401, allocations: 79.03 kB / 413.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.4012, allocations: 261.2 kB / 413.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.4013, allocations: 40.7 kB / 413.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.4013, allocations: 1.125 kB / 413.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002692/0.404, allocations: 1.017 MB / 414.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.404, allocations: 54.19 kB / 414.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.4043, allocations: 269.4 kB / 415.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.4043, allocations: 36.33 kB / 415.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4045, allocations: 182 kB / 415.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.4045, allocations: 100.3 kB / 415.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.4046, allocations: 69.11 kB / 415.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4048, allocations: 348.9 kB / 415.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.405, allocations: 88.84 kB / 415.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.4052, allocations: 173.9 kB / 416 MB, free: 3.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.4056, allocations: 286.4 kB / 416.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4056, allocations: 0 / 416.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005879/0.4062, allocations: 370.1 kB / 416.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4062, allocations: 5.969 kB / 416.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4062, allocations: 11.03 kB / 416.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.4066, allocations: 92 kB / 416.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.4069, allocations: 66.97 kB / 416.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.4075, allocations: 0.6586 MB / 417.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.4077, allocations: 7.531 kB / 417.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.4078, allocations: 23.47 kB / 417.5 MB, free: 2.73 MB / 334.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.0001926/0.408, allocations: 150.2 kB / 417.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.4081, allocations: 34.5 kB / 417.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.4088, allocations: 378 kB / 418.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4088, allocations: 2.844 kB / 418.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4089, allocations: 5.328 kB / 418.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006354/0.4095, allocations: 0.5472 MB / 418.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.4106, allocations: 0.7398 MB / 419.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4107, allocations: 1.094 kB / 419.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.4108, allocations: 42.78 kB / 419.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/0.4113, allocations: 104 kB / 419.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4114, allocations: 3.281 kB / 419.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005647/0.4119, allocations: 0.6388 MB / 420.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.412, allocations: 7.875 kB / 420.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.4127, allocations: 490.2 kB / 420.7 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.4128, allocations: 101.8 kB / 420.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.4129, allocations: 6.844 kB / 420.8 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.4131, allocations: 6.562 kB / 420.8 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.4132, allocations: 15.89 kB / 420.8 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.4132, allocations: 17.02 kB / 420.8 MB, free: 28 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.4135, allocations: 204.7 kB / 421 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4135, allocations: 0 / 421 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004686/0.414, allocations: 105.8 kB / 421.1 MB, free: 15.88 MB / 350.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.0002837/0.4143, allocations: 164.5 kB / 421.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.4148, allocations: 247.3 kB / 421.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4148, allocations: 1.562 kB / 421.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4151, allocations: 117.7 kB / 421.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.4161, allocations: 168.9 kB / 421.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4173, allocations: 0.6752 MB / 422.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.4178, allocations: 0.7623 MB / 423.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4179, allocations: 33.42 kB / 423.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4179, allocations: 1.375 kB / 423.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Templates: time 0.01026/0.4281, allocations: 6.432 MB / 429.7 MB, free: 8.711 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (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) 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) Reference file matches