Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001863/0.001863, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 91.61 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.408e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 47.58 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.45, allocations: 438.4 MB / 0.7827 GB, free: 91.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003896/1.45, allocations: 97 kB / 0.7827 GB, free: 91.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5259/1.976, allocations: 152 MB / 0.9312 GB, free: 108.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.976, allocations: 2.062 kB / 0.9312 GB, free: 108.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.973e-05/1.976, allocations: 7.344 kB / 0.9312 GB, free: 108.2 MB / 426.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.001241/1.978, allocations: 0.5975 MB / 0.9318 GB, free: 107.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.978, allocations: 8.906 kB / 0.9318 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/1.978, allocations: 44.12 kB / 0.9319 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/1.979, allocations: 279.9 kB / 0.9321 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/1.979, allocations: 10.81 kB / 0.9321 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/1.979, allocations: 12.94 kB / 0.9322 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003741/1.979, allocations: 177.1 kB / 0.9323 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/1.98, allocations: 272.2 kB / 0.9326 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.98, allocations: 7.375 kB / 0.9326 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/1.98, allocations: 2.219 kB / 0.9326 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/1.98, allocations: 11.64 kB / 0.9326 GB, free: 107.1 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001901/1.982, allocations: 1.541 MB / 0.9341 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/1.982, allocations: 143.9 kB / 0.9342 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.982, allocations: 75.05 kB / 0.9343 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/1.982, allocations: 7.797 kB / 0.9343 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/1.982, allocations: 38.41 kB / 0.9344 GB, free: 105.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.023e-06/1.982, allocations: 0 / 0.9344 GB, free: 105.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.003943/1.986, allocations: 1.004 MB / 0.9353 GB, free: 104.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/1.986, allocations: 59.28 kB / 0.9354 GB, free: 104.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/1.986, allocations: 199.6 kB / 0.9356 GB, free: 104.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/1.986, allocations: 25.7 kB / 0.9356 GB, free: 104.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/1.986, allocations: 190.7 kB / 0.9358 GB, free: 104.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/1.986, allocations: 85.97 kB / 0.9359 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/1.986, allocations: 0 / 0.9359 GB, free: 104.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/1.987, allocations: 330.6 kB / 0.9362 GB, free: 104 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.987, allocations: 77.69 kB / 0.9363 GB, free: 104 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/1.987, allocations: 173.1 kB / 0.9364 GB, free: 103.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/1.987, allocations: 109.3 kB / 0.9365 GB, free: 103.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.987, allocations: 0 / 0.9365 GB, free: 103.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005255/1.988, allocations: 360.5 kB / 0.9369 GB, free: 103.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.988, allocations: 11 kB / 0.9369 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.988, allocations: 3.688 kB / 0.9369 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/1.988, allocations: 59.5 kB / 0.937 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/1.988, allocations: 90.58 kB / 0.937 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.989, allocations: 1.805 MB / 0.9388 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/1.989, allocations: 26.19 kB / 0.9388 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/1.99, allocations: 39.28 kB / 0.9389 GB, free: 101.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.99, allocations: 112.8 kB / 0.939 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/1.99, allocations: 19.56 kB / 0.939 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/1.99, allocations: 360.4 kB / 0.9393 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.99, allocations: 0 / 0.9393 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/1.99, allocations: 0 / 0.9393 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003643/1.991, allocations: 0.5476 MB / 0.9399 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/1.992, allocations: 0.6517 MB / 0.9405 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.992, allocations: 0 / 0.9405 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/1.992, allocations: 71.89 kB / 0.9406 GB, free: 99.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/1.992, allocations: 20.84 kB / 0.9406 GB, free: 99.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/1.992, allocations: 11.98 kB / 0.9406 GB, free: 99.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005844/1.993, allocations: 1.229 MB / 0.9418 GB, free: 98.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.993, allocations: 3.984 kB / 0.9418 GB, free: 98.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/1.993, allocations: 468.7 kB / 0.9423 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/1.993, allocations: 100.8 kB / 0.9424 GB, free: 97.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/1.993, allocations: 11.95 kB / 0.9424 GB, free: 97.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/1.993, allocations: 15.55 kB / 0.9424 GB, free: 97.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/1.994, allocations: 19.97 kB / 0.9424 GB, free: 97.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/1.994, allocations: 31.98 kB / 0.9424 GB, free: 97.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001219/1.994, allocations: 160.4 kB / 0.9426 GB, free: 97.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.994, allocations: 0 / 0.9426 GB, free: 97.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007122/1.994, allocations: 155.9 kB / 0.9427 GB, free: 97.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001342/1.996, allocations: 0.9046 MB / 0.9436 GB, free: 96.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005344/1.996, allocations: 345.5 kB / 0.9439 GB, free: 96.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.996, allocations: 4 kB / 0.9439 GB, free: 96.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/1.997, allocations: 221.5 kB / 0.9442 GB, free: 96.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/1.997, allocations: 121 kB / 0.9443 GB, free: 96.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008338/1.998, allocations: 483 kB / 0.9447 GB, free: 95.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/1.998, allocations: 0.7719 MB / 0.9455 GB, free: 94.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005515/1.999, allocations: 114.4 kB / 0.9456 GB, free: 94.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/1.999, allocations: 59.42 kB / 0.9457 GB, free: 94.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/1.999, allocations: 0 / 0.9457 GB, free: 94.65 MB / 426.7 MB Notification: Performance of Templates: time 0.01767/2.017, allocations: 11.15 MB / 0.9565 GB, free: 83.51 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches