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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 85.94 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 442.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.334e-05, allocations: 2.281 kB / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3977/0.3978, allocations: 154.6 MB / 0.5833 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007673/0.4054, allocations: 4.915 MB / 0.5881 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007393/0.4062, allocations: 30.66 kB / 0.5881 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.4072, allocations: 317.8 kB / 0.5884 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.4111, allocations: 1.393 MB / 0.5898 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.4141, allocations: 1.095 MB / 0.5908 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002744/0.4169, allocations: 1.883 MB / 0.5927 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009537/0.4178, allocations: 386.1 kB / 0.593 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.4213, allocations: 1.351 MB / 0.5944 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.4234, allocations: 0.7321 MB / 0.5951 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.4236, allocations: 60 kB / 0.5951 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4254, allocations: 0.5576 MB / 0.5957 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004597/0.4258, allocations: 283.1 kB / 0.5959 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.4264, allocations: 291.3 kB / 0.5962 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.4289, allocations: 1.391 MB / 0.5976 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4289, allocations: 0 / 0.5976 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.113e-06/0.4289, allocations: 0 / 0.5976 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.081e-05/0.429, allocations: 0 / 0.5976 GB, free: 12.5 MB / 0.4981 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.002796/0.4318, allocations: 1.03 MB / 0.5986 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4318, allocations: 16.61 kB / 0.5986 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.4328, allocations: 135.5 kB / 0.5987 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4338, allocations: 481.3 kB / 0.5992 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.434, allocations: 155.8 kB / 0.5993 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4341, allocations: 48 kB / 0.5994 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.4358, allocations: 1.14 MB / 0.6005 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.4358, allocations: 3.938 kB / 0.6005 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.4359, allocations: 23.98 kB / 0.6005 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.436, allocations: 36.98 kB / 0.6006 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.4372, allocations: 0.626 MB / 0.6012 GB, free: 8.582 MB / 0.4981 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.004912/0.4421, allocations: 3.22 MB / 0.6043 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.4428, allocations: 339.6 kB / 0.6046 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.4431, allocations: 161.3 kB / 0.6048 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.4432, allocations: 12.27 kB / 0.6048 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.4433, allocations: 38.84 kB / 0.6048 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.454e-06/0.4433, allocations: 0 / 0.6048 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006243/0.4495, allocations: 1.598 MB / 0.6064 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.4496, allocations: 136.5 kB / 0.6065 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.4504, allocations: 0.5376 MB / 0.6071 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.4505, allocations: 33.7 kB / 0.6071 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.4508, allocations: 380.2 kB / 0.6075 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.451, allocations: 150.7 kB / 0.6076 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.4513, allocations: 162.6 kB / 0.6077 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.4515, allocations: 366.8 kB / 0.6081 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.4519, allocations: 201.9 kB / 0.6083 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.4527, allocations: 0.5928 MB / 0.6089 GB, free: 280 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.4539, allocations: 0.7477 MB / 0.6096 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.4539, allocations: 4 kB / 0.6096 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001695/0.4556, allocations: 0.8681 MB / 0.6105 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4557, allocations: 8 kB / 0.6105 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.4557, allocations: 12.84 kB / 0.6105 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.4572, allocations: 309.5 kB / 0.6108 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.4576, allocations: 127.8 kB / 0.6109 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.459, allocations: 0.9339 MB / 0.6118 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.4595, allocations: 27.98 kB / 0.6118 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.4597, allocations: 65 kB / 0.6119 GB, free: 13 MB / 0.5137 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.0004489/0.4601, allocations: 241.5 kB / 0.6121 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.4603, allocations: 71.52 kB / 0.6122 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.4622, allocations: 0.865 MB / 0.613 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4622, allocations: 4 kB / 0.613 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4622, allocations: 0 / 0.613 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4622, allocations: 0 / 0.613 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.4644, allocations: 1.095 MB / 0.6141 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4644, allocations: 0 / 0.6141 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.4656, allocations: 211.8 kB / 0.6143 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.4657, allocations: 32.72 kB / 0.6143 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.4658, allocations: 20.17 kB / 0.6144 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.4683, allocations: 2.62 MB / 0.6169 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4683, allocations: 4.25 kB / 0.6169 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.4699, allocations: 0.8182 MB / 0.6177 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.4703, allocations: 107.5 kB / 0.6178 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4704, allocations: 12 kB / 0.6178 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.4709, allocations: 19.92 kB / 0.6179 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.471, allocations: 39.95 kB / 0.6179 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/0.4711, allocations: 47.91 kB / 0.6179 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006141/0.4717, allocations: 358.8 kB / 0.6183 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4717, allocations: 0 / 0.6183 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001284/0.473, allocations: 251.8 kB / 0.6185 GB, free: 5.906 MB / 0.5137 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.001002/0.474, allocations: 294.8 kB / 0.6188 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.4754, allocations: 0.5277 MB / 0.6193 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.4754, allocations: 3.953 kB / 0.6193 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.4766, allocations: 410.3 kB / 0.6197 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.4784, allocations: 306.6 kB / 0.62 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.4816, allocations: 1.24 MB / 0.6212 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.4822, allocations: 332.3 kB / 0.6215 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001548/0.4838, allocations: 454.1 kB / 0.622 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.4843, allocations: 108.4 kB / 0.6221 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of SimCode: time 1.442e-06/0.4843, allocations: 0 / 0.6221 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of Templates: time 0.03654/0.5208, allocations: 15.66 MB / 0.6374 GB, free: 2.738 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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: 6.066840000450611]