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.00194/0.00194, allocations: 107.6 kB / 21.18 MB, free: 452 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.002425/0.002425, allocations: 215.2 kB / 24.47 MB, free: 3.777 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.507/1.507, allocations: 207.7 MB / 235.3 MB, free: 9.789 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 55.92 kB / 347.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2784, allocations: 49.17 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.1926/0.471, allocations: 150.2 MB / 0.5343 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004341/0.4754, allocations: 2.955 MB / 0.5371 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.4756, allocations: 4 kB / 0.5371 GB, free: 9.488 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.4762, allocations: 174.9 kB / 0.5373 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.4772, allocations: 409.5 kB / 0.5377 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.4782, allocations: 355.2 kB / 0.538 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.4794, allocations: 0.9031 MB / 0.5389 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.4796, allocations: 76.88 kB / 0.539 GB, free: 7.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.4817, allocations: 0.8132 MB / 0.5398 GB, free: 6.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.4821, allocations: 274.9 kB / 0.54 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.4822, allocations: 28 kB / 0.5401 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.4825, allocations: 115.9 kB / 0.5402 GB, free: 6.363 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.4826, allocations: 107.6 kB / 0.5403 GB, free: 6.258 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.4828, allocations: 155.5 kB / 0.5404 GB, free: 6.105 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007848/0.4836, allocations: 0.5204 MB / 0.5409 GB, free: 5.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4836, allocations: 0 / 0.5409 GB, free: 5.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4836, allocations: 0 / 0.5409 GB, free: 5.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4836, allocations: 0 / 0.5409 GB, free: 5.586 MB / 462.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.0009833/0.4846, allocations: 0.5168 MB / 0.5414 GB, free: 5.039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4847, allocations: 11.98 kB / 0.5415 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.485, allocations: 51.8 kB / 0.5415 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.4855, allocations: 224.7 kB / 0.5417 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4855, allocations: 12.5 kB / 0.5417 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.4855, allocations: 27.94 kB / 0.5418 GB, free: 4.688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.4862, allocations: 0.5451 MB / 0.5423 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4863, allocations: 3.938 kB / 0.5423 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.4863, allocations: 16 kB / 0.5423 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4863, allocations: 8 kB / 0.5423 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.4867, allocations: 205.5 kB / 0.5425 GB, free: 3.836 MB / 462.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.001726/0.4884, allocations: 1.148 MB / 0.5436 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.4887, allocations: 162.8 kB / 0.5438 GB, free: 2.465 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.4888, allocations: 85.2 kB / 0.5439 GB, free: 2.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4889, allocations: 7.938 kB / 0.5439 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4889, allocations: 34.56 kB / 0.5439 GB, free: 2.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.4889, allocations: 0 / 0.5439 GB, free: 2.328 MB / 462.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.00554/0.4945, allocations: 1.314 MB / 0.5452 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.4945, allocations: 55.41 kB / 0.5453 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.4948, allocations: 224 kB / 0.5455 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.4948, allocations: 37.64 kB / 0.5455 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.495, allocations: 184.4 kB / 0.5457 GB, free: 444 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.495, allocations: 103.2 kB / 0.5458 GB, free: 340 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4952, allocations: 85.64 kB / 0.5459 GB, free: 248 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4953, allocations: 338.8 kB / 0.5462 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4955, allocations: 91.95 kB / 0.5463 GB, free: 15.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.4958, allocations: 187.8 kB / 0.5464 GB, free: 15.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.4962, allocations: 315.8 kB / 0.5467 GB, free: 15.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4962, allocations: 0 / 0.5467 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006676/0.4969, allocations: 402.8 kB / 0.5471 GB, free: 14.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4969, allocations: 8 kB / 0.5471 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4969, allocations: 4.406 kB / 0.5471 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.4971, allocations: 69.69 kB / 0.5472 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.4975, allocations: 91.83 kB / 0.5473 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.4991, allocations: 1.824 MB / 0.5491 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.4993, allocations: 8 kB / 0.5491 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.4993, allocations: 36.25 kB / 0.5491 GB, free: 12.65 MB / 478.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.0001954/0.4995, allocations: 169.6 kB / 0.5493 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.4996, allocations: 31.75 kB / 0.5493 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/0.5005, allocations: 435.8 kB / 0.5497 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5005, allocations: 4 kB / 0.5497 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.5005, allocations: 0 / 0.5497 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006023/0.5011, allocations: 0.5669 MB / 0.5503 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5021, allocations: 0.6218 MB / 0.5509 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5021, allocations: 3.938 kB / 0.5509 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.5024, allocations: 68.02 kB / 0.551 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.226e-05/0.5025, allocations: 28.78 kB / 0.551 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.5025, allocations: 8 kB / 0.551 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009783/0.5035, allocations: 1.256 MB / 0.5522 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.5035, allocations: 7.969 kB / 0.5522 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.5042, allocations: 470.9 kB / 0.5527 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.5042, allocations: 23.88 kB / 0.5527 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.5043, allocations: 8 kB / 0.5527 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.5045, allocations: 8 kB / 0.5527 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.5045, allocations: 31.83 kB / 0.5527 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.5046, allocations: 31.98 kB / 0.5528 GB, free: 8.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.5048, allocations: 168.5 kB / 0.5529 GB, free: 8.449 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5048, allocations: 0 / 0.5529 GB, free: 8.449 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.5053, allocations: 123.9 kB / 0.5531 GB, free: 8.328 MB / 478.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.0003961/0.5057, allocations: 147.2 kB / 0.5532 GB, free: 8.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.5064, allocations: 363.9 kB / 0.5535 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5064, allocations: 0 / 0.5535 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.5068, allocations: 226.5 kB / 0.5538 GB, free: 7.574 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.5076, allocations: 140.2 kB / 0.5539 GB, free: 7.438 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.5088, allocations: 0.6961 MB / 0.5546 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.509, allocations: 155.2 kB / 0.5547 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.5094, allocations: 114.9 kB / 0.5548 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.5096, allocations: 67.41 kB / 0.5549 GB, free: 6.355 MB / 478.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5096, allocations: 0 / 0.5549 GB, free: 6.355 MB / 478.1 MB Notification: Performance of Templates: time 0.2001/0.7097, allocations: 8.472 MB / 0.5632 GB, free: 164.2 MB / 478.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.448234172537923]