Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4272, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1917/0.6189, allocations: 178.2 MB / 0.7057 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007246/0.6262, allocations: 5.349 MB / 0.7109 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.627, allocations: 19.88 kB / 0.7109 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.628, allocations: 314 kB / 0.7112 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.6319, allocations: 1.346 MB / 0.7125 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.6349, allocations: 1.065 MB / 0.7136 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002446/0.6374, allocations: 1.86 MB / 0.7154 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.6382, allocations: 461.3 kB / 0.7158 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.6407, allocations: 1.086 MB / 0.7169 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.6421, allocations: 0.7627 MB / 0.7176 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.6424, allocations: 60 kB / 0.7177 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.6439, allocations: 0.6242 MB / 0.7183 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.6443, allocations: 267.2 kB / 0.7185 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.6448, allocations: 394.2 kB / 0.7189 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3027/0.9475, allocations: 1.298 MB / 0.7202 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.9476, allocations: 0 / 0.7202 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9476, allocations: 0.5 kB / 0.7202 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.805e-05/0.9476, allocations: 0 / 0.7202 GB, free: 7.285 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002693/0.9503, allocations: 1.1 MB / 0.7213 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9504, allocations: 9.312 kB / 0.7213 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.9513, allocations: 137.4 kB / 0.7214 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.9522, allocations: 0.5328 MB / 0.7219 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.9524, allocations: 105.9 kB / 0.722 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.9525, allocations: 46.25 kB / 0.7221 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.9539, allocations: 0.8196 MB / 0.7229 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9539, allocations: 1.531 kB / 0.7229 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.954, allocations: 23.94 kB / 0.7229 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.9541, allocations: 42.5 kB / 0.7229 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.9551, allocations: 0.6197 MB / 0.7235 GB, free: 6.215 MB / 0.5606 GB 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.004541/0.9597, allocations: 3.931 MB / 0.7274 GB, free: 19.65 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.9603, allocations: 361.8 kB / 0.7277 GB, free: 19.62 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.9606, allocations: 174.1 kB / 0.7279 GB, free: 19.61 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.9607, allocations: 90.97 kB / 0.728 GB, free: 19.52 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.9607, allocations: 40.58 kB / 0.728 GB, free: 19.48 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=34): time 2.225e-06/0.9607, allocations: 4.125 kB / 0.728 GB, free: 19.48 MB / 0.5763 GB Notification: Performance of matching and sorting (n=39): time 0.00578/0.9665, allocations: 1.668 MB / 0.7296 GB, free: 18.98 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.9666, allocations: 138.8 kB / 0.7298 GB, free: 18.82 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007662/0.9674, allocations: 0.6115 MB / 0.7304 GB, free: 18.68 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.9675, allocations: 36.89 kB / 0.7304 GB, free: 18.64 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.9677, allocations: 365.6 kB / 0.7308 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.9678, allocations: 143.5 kB / 0.7309 GB, free: 18.36 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.968, allocations: 158.6 kB / 0.731 GB, free: 18.34 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9682, allocations: 379.5 kB / 0.7314 GB, free: 18.03 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.9685, allocations: 205.1 kB / 0.7316 GB, free: 18.03 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.9689, allocations: 0.5108 MB / 0.7321 GB, free: 17.64 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.9697, allocations: 0.7474 MB / 0.7328 GB, free: 17.29 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.9697, allocations: 2.094 kB / 0.7328 GB, free: 17.29 MB / 0.5763 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001269/0.9709, allocations: 0.8868 MB / 0.7337 GB, free: 17.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.971, allocations: 9.188 kB / 0.7337 GB, free: 17.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.971, allocations: 10.53 kB / 0.7337 GB, free: 17.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.9723, allocations: 313.4 kB / 0.734 GB, free: 17.19 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.9727, allocations: 125 kB / 0.7341 GB, free: 17.19 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.9739, allocations: 0.9309 MB / 0.735 GB, free: 16.67 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.9745, allocations: 30.78 kB / 0.7351 GB, free: 16.67 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/0.9746, allocations: 68.44 kB / 0.7351 GB, free: 16.67 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004331/0.9751, allocations: 247.4 kB / 0.7354 GB, free: 16.55 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.9752, allocations: 74.47 kB / 0.7354 GB, free: 16.51 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.9768, allocations: 0.8696 MB / 0.7363 GB, free: 16.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.9768, allocations: 6.031 kB / 0.7363 GB, free: 16.4 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9768, allocations: 0 / 0.7363 GB, free: 16.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.9768, allocations: 0.8438 kB / 0.7363 GB, free: 16.4 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.9788, allocations: 1.463 MB / 0.7377 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.9788, allocations: 3.375 kB / 0.7377 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.9798, allocations: 209.2 kB / 0.7379 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.242e-05/0.9799, allocations: 27.11 kB / 0.738 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.9799, allocations: 26.12 kB / 0.738 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.9817, allocations: 2.875 MB / 0.7408 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9818, allocations: 4.281 kB / 0.7408 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.9828, allocations: 0.8197 MB / 0.7416 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.9831, allocations: 180.8 kB / 0.7418 GB, free: 12.63 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9832, allocations: 16.77 kB / 0.7418 GB, free: 12.63 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.9837, allocations: 15.7 kB / 0.7418 GB, free: 12.63 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.9838, allocations: 48.5 kB / 0.7418 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.9838, allocations: 40.81 kB / 0.7419 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004485/0.9843, allocations: 441.4 kB / 0.7423 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9843, allocations: 0.7812 kB / 0.7423 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0008638/0.9851, allocations: 258.1 kB / 0.7425 GB, free: 12.52 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007042/0.9859, allocations: 286.1 kB / 0.7428 GB, free: 12.42 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0009975/0.9869, allocations: 0.5598 MB / 0.7434 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9869, allocations: 2.062 kB / 0.7434 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.9878, allocations: 412.5 kB / 0.7438 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.9894, allocations: 366.4 kB / 0.7441 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.9913, allocations: 1.382 MB / 0.7455 GB, free: 11.69 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.9918, allocations: 0.9292 MB / 0.7464 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.9921, allocations: 128.3 kB / 0.7465 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of SimCode: time 7.11e-07/0.9921, allocations: 1.203 kB / 0.7465 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of Templates: time 0.01878/1.011, allocations: 16.62 MB / 0.7627 GB, free: 9.602 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p