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.002093/0.002093, allocations: 85.52 kB / 21.43 MB, free: 288 kB / 14.72 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.002238/0.002238, allocations: 164.9 kB / 24.7 MB, free: 3.543 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.398/1.398, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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.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.653e-06/1.653e-06, allocations: 0 / 299 MB, free: 8.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.604e-05, allocations: 2.281 kB / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3522/0.3522, allocations: 150.1 MB / 449.1 MB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.357, allocations: 2.943 MB / 452.1 MB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.3573, allocations: 8.5 kB / 452.1 MB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.358, allocations: 162.9 kB / 452.3 MB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.3592, allocations: 417.4 kB / 452.7 MB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3603, allocations: 364 kB / 453 MB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.3617, allocations: 0.9065 MB / 453.9 MB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3619, allocations: 64.89 kB / 454 MB, free: 2.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.365, allocations: 0.9392 MB / 454.9 MB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.3656, allocations: 255.2 kB / 455.2 MB, free: 1.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3657, allocations: 28 kB / 455.2 MB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.3662, allocations: 123.8 kB / 455.3 MB, free: 1.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.3664, allocations: 99.66 kB / 455.4 MB, free: 1.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.3667, allocations: 139.7 kB / 455.6 MB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009153/0.3677, allocations: 0.5416 MB / 456.1 MB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3677, allocations: 0 / 456.1 MB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3677, allocations: 3.938 kB / 456.1 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3677, allocations: 3.938 kB / 456.1 MB, free: 0.5156 MB / 398.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.001056/0.3687, allocations: 0.5251 MB / 456.6 MB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3688, allocations: 14.14 kB / 456.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.3691, allocations: 39.81 kB / 456.7 MB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.3697, allocations: 237.2 kB / 456.9 MB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3697, allocations: 16.5 kB / 456.9 MB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.3698, allocations: 24 kB / 457 MB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.3706, allocations: 0.5374 MB / 457.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3706, allocations: 0 / 457.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.3707, allocations: 12 kB / 457.5 MB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3707, allocations: 4 kB / 457.5 MB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.3712, allocations: 213.7 kB / 457.7 MB, free: 14.77 MB / 414.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.002122/0.3733, allocations: 1.149 MB / 458.9 MB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.3737, allocations: 159.4 kB / 459 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.3738, allocations: 92.83 kB / 459.1 MB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.3739, allocations: 7.984 kB / 459.1 MB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3739, allocations: 38.94 kB / 459.2 MB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.3739, allocations: 0 / 459.2 MB, free: 13.25 MB / 414.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.006078/0.38, allocations: 1.306 MB / 460.5 MB, free: 11.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.3801, allocations: 55.41 kB / 460.5 MB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.3804, allocations: 232 kB / 460.8 MB, free: 11.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.3805, allocations: 33.64 kB / 460.8 MB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3806, allocations: 196.3 kB / 461 MB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.3807, allocations: 99.17 kB / 461.1 MB, free: 11.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.3809, allocations: 77.69 kB / 461.1 MB, free: 11.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.3811, allocations: 338.8 kB / 461.5 MB, free: 10.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3813, allocations: 87.91 kB / 461.6 MB, free: 10.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.3815, allocations: 191.8 kB / 461.8 MB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.382, allocations: 303.8 kB / 462 MB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.382, allocations: 0 / 462 MB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007783/0.3828, allocations: 406.8 kB / 462.4 MB, free: 9.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.3828, allocations: 8 kB / 462.5 MB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3829, allocations: 4 kB / 462.5 MB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.3831, allocations: 69.69 kB / 462.5 MB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.3835, allocations: 87.81 kB / 462.6 MB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.3853, allocations: 1.824 MB / 464.4 MB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.3855, allocations: 16.91 kB / 464.5 MB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.3856, allocations: 32 kB / 464.5 MB, free: 7.602 MB / 414.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.0002381/0.3858, allocations: 157.7 kB / 464.6 MB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3859, allocations: 27.86 kB / 464.7 MB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.3869, allocations: 445.5 kB / 465.1 MB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3869, allocations: 4 kB / 465.1 MB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3869, allocations: 0 / 465.1 MB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006732/0.3876, allocations: 0.5713 MB / 465.7 MB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3887, allocations: 0.6335 MB / 466.3 MB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3887, allocations: 0 / 466.3 MB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.3891, allocations: 63.95 kB / 466.4 MB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.935e-05/0.3892, allocations: 20.84 kB / 466.4 MB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.3892, allocations: 12 kB / 466.4 MB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.3903, allocations: 1.256 MB / 467.7 MB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3903, allocations: 0 / 467.7 MB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.3911, allocations: 482.4 kB / 468.1 MB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.3912, allocations: 19.89 kB / 468.1 MB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.3913, allocations: 11.98 kB / 468.2 MB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.3915, allocations: 8 kB / 468.2 MB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.3916, allocations: 29.64 kB / 468.2 MB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.3916, allocations: 32.14 kB / 468.2 MB, free: 3.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3918, allocations: 177.2 kB / 468.4 MB, free: 3.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3918, allocations: 0 / 468.4 MB, free: 3.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005477/0.3924, allocations: 123.9 kB / 468.5 MB, free: 3.273 MB / 414.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.0004397/0.3928, allocations: 147.1 kB / 468.7 MB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007446/0.3935, allocations: 358.4 kB / 469 MB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3935, allocations: 4 kB / 469 MB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.3939, allocations: 227.3 kB / 469.2 MB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.3948, allocations: 133.6 kB / 469.4 MB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.3962, allocations: 0.6176 MB / 470 MB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.3963, allocations: 155.2 kB / 470.1 MB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004475/0.3968, allocations: 110.9 kB / 470.3 MB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.397, allocations: 68.47 kB / 470.3 MB, free: 1.395 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.397, allocations: 0 / 470.3 MB, free: 1.395 MB / 414.1 MB Notification: Performance of Templates: time 0.01607/0.4131, allocations: 7.962 MB / 478.3 MB, free: 9.422 MB / 430.1 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: 5.236498925834894]