Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 179.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007224/0.0007227, allocations: 85 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002815, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01741/0.2126, allocations: 22.55 MB / 397.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.2147, allocations: 2.361 MB / 399.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.2149, allocations: 0 / 399.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.2153, allocations: 115.3 kB / 399.6 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2157, allocations: 306.4 kB / 399.9 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2173, allocations: 0.8273 MB / 400.7 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006606/0.2179, allocations: 1.113 MB / 401.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2181, allocations: 76.66 kB / 401.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.2212, allocations: 2.809 MB / 404.7 MB, free: 18.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.2215, allocations: 270.9 kB / 405 MB, free: 18.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.2216, allocations: 12 kB / 405 MB, free: 18.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.222, allocations: 215.6 kB / 405.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.2221, allocations: 83.77 kB / 405.3 MB, free: 18.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.2222, allocations: 93.52 kB / 405.4 MB, free: 17.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.2225, allocations: 442.9 kB / 405.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2225, allocations: 0 / 405.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2225, allocations: 0 / 405.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2225, allocations: 0 / 405.8 MB, free: 17.54 MB / 298.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.0005799/0.2231, allocations: 0.5573 MB / 406.4 MB, free: 16.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2232, allocations: 8.031 kB / 406.4 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/0.2235, allocations: 55.61 kB / 406.4 MB, free: 16.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.2238, allocations: 282.5 kB / 406.7 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2238, allocations: 20.52 kB / 406.7 MB, free: 16.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2238, allocations: 24 kB / 406.7 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.2243, allocations: 334.2 kB / 407.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2243, allocations: 4 kB / 407.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.2243, allocations: 12 kB / 407.1 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2243, allocations: 4 kB / 407.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.2246, allocations: 189.5 kB / 407.3 MB, free: 15.95 MB / 298.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.001444/0.226, allocations: 2.119 MB / 409.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.2263, allocations: 185 kB / 409.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2264, allocations: 80.84 kB / 409.6 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.2265, allocations: 263.4 kB / 409.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2266, allocations: 38.56 kB / 409.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.2266, allocations: 0 / 409.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.002111/0.2287, allocations: 1.015 MB / 411 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.2287, allocations: 55.41 kB / 411 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.2289, allocations: 266.5 kB / 411.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2289, allocations: 33.7 kB / 411.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.229, allocations: 180.1 kB / 411.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.2291, allocations: 106.5 kB / 411.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.2291, allocations: 8 kB / 411.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.2291, allocations: 342.8 kB / 411.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2293, allocations: 76.72 kB / 412 MB, free: 10.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2294, allocations: 174.8 kB / 412.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2296, allocations: 112 kB / 412.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2296, allocations: 0 / 412.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004514/0.2301, allocations: 377.5 kB / 412.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2301, allocations: 5.25 kB / 412.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2301, allocations: 8 kB / 412.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.2305, allocations: 96.72 kB / 412.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2307, allocations: 63.91 kB / 412.8 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003723/0.2311, allocations: 0.6616 MB / 413.5 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2313, allocations: 19.97 kB / 413.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.2313, allocations: 16 kB / 413.5 MB, free: 9.211 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.2314, allocations: 153.8 kB / 413.7 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.2315, allocations: 27.72 kB / 413.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.232, allocations: 380.5 kB / 414.1 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.232, allocations: 7.953 kB / 414.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.232, allocations: 0 / 414.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003546/0.2324, allocations: 0.5592 MB / 414.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007965/0.2332, allocations: 0.7392 MB / 415.4 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2332, allocations: 0 / 415.4 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.2333, allocations: 35.98 kB / 415.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.2338, allocations: 104.6 kB / 415.5 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2338, allocations: 8 kB / 415.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003335/0.2341, allocations: 0.6459 MB / 416.2 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2341, allocations: 4.031 kB / 416.2 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.2347, allocations: 485.5 kB / 416.6 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.2348, allocations: 104.8 kB / 416.7 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.2348, allocations: 8 kB / 416.8 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2351, allocations: 15.91 kB / 416.8 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.2351, allocations: 11.97 kB / 416.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.2351, allocations: 23.94 kB / 416.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.2353, allocations: 198 kB / 417 MB, free: 5.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2353, allocations: 0 / 417 MB, free: 5.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.2357, allocations: 108 kB / 417.1 MB, free: 5.363 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001956/0.2359, allocations: 151.1 kB / 417.3 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004087/0.2363, allocations: 236.3 kB / 417.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2363, allocations: 4 kB / 417.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.2365, allocations: 123.7 kB / 417.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.2374, allocations: 166.7 kB / 417.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.2383, allocations: 0.7788 MB / 418.5 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2385, allocations: 0.765 MB / 419.3 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.2386, allocations: 39.41 kB / 419.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2386, allocations: 0 / 419.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of Templates: time 0.009145/0.2478, allocations: 6.323 MB / 425.7 MB, free: 12.74 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches