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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [Timeout 660] "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.001824/0.001824, allocations: 55.92 kB / 347.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.209/0.4914, allocations: 174.4 MB / 0.5578 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.4957, allocations: 3.25 MB / 0.561 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.4959, allocations: 7.938 kB / 0.561 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006786/0.4965, allocations: 182.9 kB / 0.5612 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.4976, allocations: 417.5 kB / 0.5616 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.4986, allocations: 347.3 kB / 0.5619 GB, free: 204 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.277/0.7757, allocations: 0.9056 MB / 0.5628 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.7759, allocations: 77.8 kB / 0.5629 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.7782, allocations: 0.8092 MB / 0.5637 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.7787, allocations: 290.1 kB / 0.5639 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.7787, allocations: 30.47 kB / 0.564 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.7791, allocations: 120.1 kB / 0.5641 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.7792, allocations: 101.9 kB / 0.5642 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.7794, allocations: 182.9 kB / 0.5644 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007602/0.7802, allocations: 0.5173 MB / 0.5649 GB, free: 2.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7802, allocations: 5.562 kB / 0.5649 GB, free: 2.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7802, allocations: 0.5156 kB / 0.5649 GB, free: 2.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.7802, allocations: 0.875 kB / 0.5649 GB, free: 2.27 MB / 478.1 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.001055/0.7812, allocations: 0.5138 MB / 0.5654 GB, free: 17.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7813, allocations: 14.27 kB / 0.5654 GB, free: 17.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.7816, allocations: 50.61 kB / 0.5654 GB, free: 17.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.7821, allocations: 224.9 kB / 0.5656 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.7821, allocations: 19.44 kB / 0.5657 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.7822, allocations: 23.66 kB / 0.5657 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.7827, allocations: 316.9 kB / 0.566 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.7827, allocations: 2.125 kB / 0.566 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.7827, allocations: 11.75 kB / 0.566 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.7827, allocations: 7.188 kB / 0.566 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.7831, allocations: 208 kB / 0.5662 GB, free: 17.66 MB / 494.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.001883/0.785, allocations: 1.568 MB / 0.5677 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.7853, allocations: 159.1 kB / 0.5679 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.7854, allocations: 99.98 kB / 0.568 GB, free: 16.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.7854, allocations: 4 kB / 0.568 GB, free: 16.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.7855, allocations: 37.06 kB / 0.568 GB, free: 16.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.7855, allocations: 0.7812 kB / 0.568 GB, free: 16.43 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005496/0.791, allocations: 1.319 MB / 0.5693 GB, free: 16.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.791, allocations: 54.59 kB / 0.5694 GB, free: 16.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.7913, allocations: 254.4 kB / 0.5696 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.7913, allocations: 35.67 kB / 0.5696 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.7915, allocations: 177.3 kB / 0.5698 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.7915, allocations: 102.5 kB / 0.5699 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.7916, allocations: 80.91 kB / 0.57 GB, free: 15.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7918, allocations: 337.1 kB / 0.5703 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.7919, allocations: 88.53 kB / 0.5704 GB, free: 15.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.7922, allocations: 187.9 kB / 0.5706 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.7925, allocations: 304.8 kB / 0.5709 GB, free: 15.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7925, allocations: 8.531 kB / 0.5709 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006522/0.7932, allocations: 405.4 kB / 0.5713 GB, free: 15.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7932, allocations: 6.469 kB / 0.5713 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7932, allocations: 3.844 kB / 0.5713 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.7934, allocations: 72.61 kB / 0.5713 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.7938, allocations: 83.56 kB / 0.5714 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.7953, allocations: 1.849 MB / 0.5732 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.7956, allocations: 11.52 kB / 0.5732 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.7956, allocations: 41.47 kB / 0.5733 GB, free: 13.33 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.7958, allocations: 162.9 kB / 0.5734 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.7959, allocations: 32.09 kB / 0.5735 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000852/0.7967, allocations: 436.3 kB / 0.5739 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7967, allocations: 2.25 kB / 0.5739 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7967, allocations: 0.7188 kB / 0.5739 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000581/0.7973, allocations: 0.5654 MB / 0.5744 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.7984, allocations: 0.6949 MB / 0.5751 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.7984, allocations: 1.125 kB / 0.5751 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.7987, allocations: 72.66 kB / 0.5752 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-05/0.7988, allocations: 23.38 kB / 0.5752 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.7989, allocations: 17.14 kB / 0.5752 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009751/0.7998, allocations: 1.283 MB / 0.5765 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7998, allocations: 0.9375 kB / 0.5765 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.8006, allocations: 479.9 kB / 0.5769 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.8007, allocations: 30.41 kB / 0.577 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.8007, allocations: 5.969 kB / 0.577 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.8009, allocations: 9.547 kB / 0.577 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.801, allocations: 30.19 kB / 0.577 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.8011, allocations: 30.48 kB / 0.577 GB, free: 10.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.8013, allocations: 189.6 kB / 0.5772 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8013, allocations: 0 / 0.5772 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005755/0.8018, allocations: 125.7 kB / 0.5773 GB, free: 10.85 MB / 494.1 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 () * Number of clocked 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 (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): 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.0003661/0.8022, allocations: 147.8 kB / 0.5775 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.8029, allocations: 363.8 kB / 0.5778 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8029, allocations: 1.125 kB / 0.5778 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.8032, allocations: 231.4 kB / 0.578 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.804, allocations: 167.8 kB / 0.5782 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.8053, allocations: 0.6993 MB / 0.5789 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.8057, allocations: 0.7717 MB / 0.5796 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.8061, allocations: 117.5 kB / 0.5797 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.8063, allocations: 65.44 kB / 0.5798 GB, free: 9.48 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.8063, allocations: 0.9375 kB / 0.5798 GB, free: 9.48 MB / 494.1 MB Notification: Performance of Templates: time 0.01531/0.8216, allocations: 9.03 MB / 0.5886 GB, free: 8.949 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.380996295250952]