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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 164.5 kB / 25.02 MB, free: 8.945 MB / 18.57 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.388/1.388, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 250.4 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.499e-05, allocations: 2.312 kB / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3512/0.3513, allocations: 150.2 MB / 400.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.3548, allocations: 2.938 MB / 403.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.355, allocations: 6.781 kB / 403.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.3556, allocations: 174.3 kB / 403.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008704/0.3565, allocations: 415.7 kB / 404.1 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.3572, allocations: 357 kB / 404.4 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000719/0.358, allocations: 0.9051 MB / 405.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3581, allocations: 73.83 kB / 405.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.3599, allocations: 0.9362 MB / 406.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.3602, allocations: 250.3 kB / 406.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.3603, allocations: 31.78 kB / 406.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.3605, allocations: 121.7 kB / 406.7 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3606, allocations: 101.3 kB / 406.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3608, allocations: 144 kB / 407 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.3613, allocations: 0.5415 MB / 407.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3613, allocations: 0 / 407.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3613, allocations: 2.188 kB / 407.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3613, allocations: 0 / 407.5 MB, free: 8.715 MB / 330.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.0007128/0.362, allocations: 0.5219 MB / 408 MB, free: 8.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3621, allocations: 14.45 kB / 408.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.3624, allocations: 75.69 kB / 408.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.3628, allocations: 236.2 kB / 408.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3629, allocations: 18.91 kB / 408.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3629, allocations: 29.44 kB / 408.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.3634, allocations: 0.5376 MB / 408.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3634, allocations: 3.953 kB / 409 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.3635, allocations: 15.41 kB / 409 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3635, allocations: 5.219 kB / 409 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.3637, allocations: 204.5 kB / 409.2 MB, free: 7.629 MB / 330.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.001333/0.3651, allocations: 1.148 MB / 410.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3653, allocations: 162.5 kB / 410.5 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3655, allocations: 82.3 kB / 410.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3655, allocations: 16.45 kB / 410.6 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3655, allocations: 33.28 kB / 410.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.3655, allocations: 0 / 410.6 MB, free: 6.684 MB / 330.7 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.004966/0.3705, allocations: 1.303 MB / 411.9 MB, free: 6.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.3705, allocations: 53.91 kB / 412 MB, free: 6.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3707, allocations: 227.8 kB / 412.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3707, allocations: 31.42 kB / 412.2 MB, free: 5.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.3708, allocations: 188.6 kB / 412.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.3709, allocations: 98.81 kB / 412.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.371, allocations: 82.98 kB / 412.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.371, allocations: 333.7 kB / 412.9 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3712, allocations: 80.12 kB / 413 MB, free: 5.348 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3713, allocations: 189 kB / 413.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.3717, allocations: 294.5 kB / 413.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3717, allocations: 0 / 413.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005522/0.3722, allocations: 404 kB / 413.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3722, allocations: 5 kB / 413.9 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3722, allocations: 6.922 kB / 413.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.3724, allocations: 53.61 kB / 413.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.3728, allocations: 86.77 kB / 414 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.3738, allocations: 1.813 MB / 415.8 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.374, allocations: 9.875 kB / 415.8 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.374, allocations: 38.08 kB / 415.9 MB, free: 2.863 MB / 330.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 () * 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.0001421/0.3742, allocations: 152.1 kB / 416 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.3742, allocations: 38 kB / 416 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.3749, allocations: 400.8 kB / 416.4 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3749, allocations: 6.969 kB / 416.4 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3749, allocations: 0 / 416.4 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004123/0.3753, allocations: 0.5398 MB / 417 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007645/0.3761, allocations: 0.6001 MB / 417.6 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3761, allocations: 4.062 kB / 417.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.3764, allocations: 62.88 kB / 417.6 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-05/0.3765, allocations: 23.38 kB / 417.7 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3765, allocations: 16.98 kB / 417.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005467/0.377, allocations: 1.245 MB / 418.9 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3771, allocations: 5.984 kB / 418.9 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.3777, allocations: 466.9 kB / 419.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.3778, allocations: 24.38 kB / 419.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.3778, allocations: 4 kB / 419.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.378, allocations: 8.844 kB / 419.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.3781, allocations: 22.47 kB / 419.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3781, allocations: 28.3 kB / 419.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.3783, allocations: 168.9 kB / 419.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3783, allocations: 0 / 419.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004986/0.3788, allocations: 126.6 kB / 419.8 MB, free: 15.65 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.0003972/0.3792, allocations: 145.9 kB / 419.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006399/0.3799, allocations: 357.3 kB / 420.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3799, allocations: 0 / 420.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.3802, allocations: 210.8 kB / 420.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008464/0.381, allocations: 156 kB / 420.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.3822, allocations: 0.618 MB / 421.2 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.3824, allocations: 157.3 kB / 421.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003666/0.3828, allocations: 99.53 kB / 421.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3829, allocations: 56.23 kB / 421.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3829, allocations: 0 / 421.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Templates: time 0.01483/0.3978, allocations: 7.68 MB / 429.2 MB, free: 9.137 MB / 346.7 MB " [Timeout remaining time 660] 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: 4.88303615199402]