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.001454/0.001454, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001548/0.001548, allocations: 184.1 kB / 18.66 MB, free: 4.422 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.497/1.497, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002123/0.002123, allocations: 51.94 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.134, allocations: 46.62 MB / 375.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2414/0.3755, allocations: 24.58 MB / 399.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.3793, allocations: 2.488 MB / 402.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.3795, allocations: 4.375 kB / 402.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.3802, allocations: 162 kB / 402.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006748/0.3809, allocations: 319.8 kB / 402.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.3836, allocations: 0.9698 MB / 403.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.3848, allocations: 0.8969 MB / 404.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.3851, allocations: 113.4 kB / 404.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.3904, allocations: 2.733 MB / 407.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.391, allocations: 268.8 kB / 407.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.577e-05/0.3911, allocations: 29.25 kB / 407.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006471/0.3917, allocations: 239.5 kB / 408 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3919, allocations: 98.27 kB / 408.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3921, allocations: 190.5 kB / 408.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007412/0.3928, allocations: 0.5736 MB / 408.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3928, allocations: 1.219 kB / 408.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3929, allocations: 0 / 408.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.3929, allocations: 3.938 kB / 408.8 MB, free: 9.516 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.000996/0.3939, allocations: 0.6242 MB / 409.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3939, allocations: 13.61 kB / 409.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.3944, allocations: 49.42 kB / 409.5 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.3949, allocations: 296.3 kB / 409.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3949, allocations: 19.16 kB / 409.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.395, allocations: 25.09 kB / 409.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.3956, allocations: 348.5 kB / 410.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3957, allocations: 1.125 kB / 410.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.3957, allocations: 12.69 kB / 410.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3957, allocations: 6.531 kB / 410.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.3961, allocations: 188 kB / 410.4 MB, free: 8.27 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.002166/0.3983, allocations: 2.12 MB / 412.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.3986, allocations: 175.1 kB / 412.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.3987, allocations: 91.14 kB / 412.8 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.3989, allocations: 254.1 kB / 413 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.399, allocations: 32.38 kB / 413 MB, free: 5.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 4.599e-06/0.399, allocations: 2.906 kB / 413.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002649/0.4016, allocations: 1.026 MB / 414.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.4017, allocations: 55.22 kB / 414.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.402, allocations: 264.8 kB / 414.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.402, allocations: 36.48 kB / 414.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.4022, allocations: 190.2 kB / 414.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.4023, allocations: 94.84 kB / 414.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.4024, allocations: 73.56 kB / 414.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4025, allocations: 341.2 kB / 415.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.4027, allocations: 89.17 kB / 415.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4029, allocations: 172.4 kB / 415.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.4034, allocations: 282.5 kB / 415.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4034, allocations: 1.188 kB / 415.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006217/0.404, allocations: 377.5 kB / 416 MB, free: 3.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.404, allocations: 6.125 kB / 416 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.404, allocations: 2.438 kB / 416 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.4044, allocations: 96.16 kB / 416.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4047, allocations: 64.03 kB / 416.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000562/0.4053, allocations: 0.6587 MB / 416.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.4055, allocations: 9.719 kB / 416.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.4055, allocations: 23.3 kB / 416.9 MB, free: 2.738 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.0001685/0.4057, allocations: 153.7 kB / 417 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/0.4058, allocations: 35.41 kB / 417.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.4065, allocations: 376.7 kB / 417.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4065, allocations: 6.531 kB / 417.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4065, allocations: 1.469 kB / 417.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005349/0.407, allocations: 0.5544 MB / 418 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4081, allocations: 0.7396 MB / 418.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4081, allocations: 1 kB / 418.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4083, allocations: 39.14 kB / 418.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/0.4088, allocations: 105.4 kB / 418.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.4088, allocations: 6.438 kB / 418.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004977/0.4093, allocations: 0.6354 MB / 419.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4093, allocations: 3.984 kB / 419.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.4101, allocations: 489 kB / 420 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.4102, allocations: 96.45 kB / 420.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.4102, allocations: 10.47 kB / 420.1 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.4105, allocations: 12.3 kB / 420.1 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.4105, allocations: 15.7 kB / 420.1 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.4106, allocations: 13.95 kB / 420.1 MB, free: 32 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.4108, allocations: 199.6 kB / 420.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4108, allocations: 0 / 420.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000506/0.4113, allocations: 113 kB / 420.4 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.0002815/0.4116, allocations: 152.9 kB / 420.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.4122, allocations: 252.1 kB / 420.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.4122, allocations: 2.5 kB / 420.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.4124, allocations: 115.9 kB / 420.9 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.0009742/0.4134, allocations: 174.5 kB / 421.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.4147, allocations: 0.6412 MB / 421.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.4151, allocations: 0.7666 MB / 422.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002759/0.4154, allocations: 71.67 kB / 422.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.4154, allocations: 31.05 kB / 422.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4155, allocations: 0 / 422.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.01234/0.4278, allocations: 7.082 MB / 429.7 MB, free: 8.035 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/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) Reference file matches