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.001185/0.001185, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 79.86 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4025, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2091/0.6116, allocations: 178.2 MB / 0.7057 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008431/0.6201, allocations: 5.334 MB / 0.7109 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009711/0.6211, allocations: 23.81 kB / 0.7109 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.6224, allocations: 322 kB / 0.7112 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.627, allocations: 1.357 MB / 0.7125 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.6305, allocations: 1.066 MB / 0.7136 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.6332, allocations: 1.859 MB / 0.7154 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000937/0.6341, allocations: 465.3 kB / 0.7158 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.637, allocations: 1.098 MB / 0.7169 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.6386, allocations: 0.7589 MB / 0.7176 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.6389, allocations: 60 kB / 0.7177 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.6407, allocations: 0.6272 MB / 0.7183 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.6412, allocations: 263.3 kB / 0.7186 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.642, allocations: 406.2 kB / 0.719 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.4614/1.103, allocations: 1.295 MB / 0.7202 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/1.103, allocations: 0.5312 kB / 0.7202 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.868e-06/1.103, allocations: 0.6562 kB / 0.7202 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.849e-05/1.104, allocations: 0 / 0.7202 GB, free: 7.195 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.003509/1.107, allocations: 1.105 MB / 0.7213 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.107, allocations: 9 kB / 0.7213 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/1.108, allocations: 138.4 kB / 0.7214 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/1.109, allocations: 0.5254 MB / 0.722 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/1.109, allocations: 105.8 kB / 0.7221 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.109, allocations: 49.75 kB / 0.7221 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/1.111, allocations: 0.8176 MB / 0.7229 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.111, allocations: 4.781 kB / 0.7229 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/1.111, allocations: 27.86 kB / 0.7229 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/1.111, allocations: 38.66 kB / 0.723 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.112, allocations: 0.618 MB / 0.7236 GB, free: 6.129 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.00513/1.118, allocations: 3.936 MB / 0.7274 GB, free: 19.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/1.118, allocations: 360 kB / 0.7278 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/1.119, allocations: 172.4 kB / 0.7279 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/1.119, allocations: 89.09 kB / 0.728 GB, free: 19.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.119, allocations: 43.14 kB / 0.728 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/1.119, allocations: 1.75 kB / 0.7281 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.006234/1.125, allocations: 1.661 MB / 0.7297 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/1.125, allocations: 133.8 kB / 0.7298 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000891/1.126, allocations: 0.6223 MB / 0.7304 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/1.126, allocations: 33.36 kB / 0.7304 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/1.126, allocations: 366.2 kB / 0.7308 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.127, allocations: 146.7 kB / 0.7309 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/1.127, allocations: 155.6 kB / 0.7311 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.127, allocations: 376.4 kB / 0.7314 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/1.127, allocations: 201.4 kB / 0.7316 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/1.128, allocations: 0.5161 MB / 0.7321 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/1.129, allocations: 0.7439 MB / 0.7329 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.129, allocations: 0.9688 kB / 0.7329 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001439/1.13, allocations: 0.8857 MB / 0.7337 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/1.13, allocations: 11.67 kB / 0.7337 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.13, allocations: 14.61 kB / 0.7337 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/1.132, allocations: 318.5 kB / 0.7341 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/1.132, allocations: 120.6 kB / 0.7342 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/1.133, allocations: 0.9377 MB / 0.7351 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/1.134, allocations: 25.09 kB / 0.7351 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/1.134, allocations: 69.23 kB / 0.7352 GB, free: 16.58 MB / 0.5762 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.0003811/1.134, allocations: 243.6 kB / 0.7354 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.134, allocations: 73.94 kB / 0.7355 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.136, allocations: 0.8662 MB / 0.7363 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.136, allocations: 7.125 kB / 0.7363 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.136, allocations: 3.594 kB / 0.7363 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.136, allocations: 3 kB / 0.7363 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/1.138, allocations: 1.459 MB / 0.7378 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.138, allocations: 3.094 kB / 0.7378 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/1.139, allocations: 207.6 kB / 0.738 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/1.139, allocations: 26.09 kB / 0.738 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/1.139, allocations: 23.16 kB / 0.738 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.142, allocations: 2.875 MB / 0.7408 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.142, allocations: 3.906 kB / 0.7408 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/1.143, allocations: 0.8148 MB / 0.7416 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/1.143, allocations: 190.6 kB / 0.7418 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/1.143, allocations: 5.844 kB / 0.7418 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/1.144, allocations: 21.22 kB / 0.7418 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/1.144, allocations: 45.72 kB / 0.7419 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/1.144, allocations: 47.41 kB / 0.7419 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005196/1.145, allocations: 439.1 kB / 0.7423 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.145, allocations: 0 / 0.7423 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001092/1.146, allocations: 256.7 kB / 0.7426 GB, free: 12.44 MB / 0.5762 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.0008021/1.146, allocations: 298.2 kB / 0.7429 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.148, allocations: 0.5528 MB / 0.7434 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.148, allocations: 3.844 kB / 0.7434 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009093/1.149, allocations: 412.9 kB / 0.7438 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.15, allocations: 365.8 kB / 0.7441 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/1.152, allocations: 1.37 MB / 0.7455 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/1.153, allocations: 0.9264 MB / 0.7464 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/1.153, allocations: 129.9 kB / 0.7465 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of SimCode: time 1.903e-06/1.153, allocations: 0 / 0.7465 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.02492/1.178, allocations: 16.63 MB / 0.7628 GB, free: 9.523 MB / 0.5762 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