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.001206/0.001206, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001309/0.001309, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.335/1.335, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.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.2128/0.2128, allocations: 46.92 MB / 361.6 MB, free: 4.207 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3118, allocations: 66.09 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2062/0.518, allocations: 178.9 MB / 0.7363 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2949/0.8129, allocations: 5.374 MB / 0.7415 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.8135, allocations: 28.12 kB / 0.7415 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008191/0.8143, allocations: 325.7 kB / 0.7418 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.8175, allocations: 1.38 MB / 0.7432 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.8202, allocations: 1.09 MB / 0.7443 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.8221, allocations: 1.878 MB / 0.7461 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004683/0.8225, allocations: 390.9 kB / 0.7465 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.8245, allocations: 1.117 MB / 0.7476 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.8256, allocations: 0.8006 MB / 0.7483 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.8257, allocations: 62.19 kB / 0.7484 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.827, allocations: 0.6422 MB / 0.749 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.8272, allocations: 274.1 kB / 0.7493 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.8276, allocations: 393.5 kB / 0.7497 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.829, allocations: 1.308 MB / 0.7509 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.829, allocations: 0.9375 kB / 0.7509 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.829, allocations: 0 / 0.7509 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.829, allocations: 3.844 kB / 0.7509 GB, free: 1.586 MB / 0.5606 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.002158/0.8311, allocations: 1.048 MB / 0.752 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.8312, allocations: 11.56 kB / 0.752 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.8312, allocations: 12.5 kB / 0.752 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.8313, allocations: 95.72 kB / 0.7521 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.8321, allocations: 144.1 kB / 0.7522 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.8329, allocations: 479.8 kB / 0.7527 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.833, allocations: 152.4 kB / 0.7528 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.8331, allocations: 52.44 kB / 0.7529 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.8341, allocations: 0.8166 MB / 0.7537 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.8342, allocations: 3.938 kB / 0.7537 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.8342, allocations: 20.94 kB / 0.7537 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/0.8343, allocations: 45.88 kB / 0.7537 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.8351, allocations: 0.6158 MB / 0.7543 GB, free: 16.43 MB / 0.5762 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.003972/0.8391, allocations: 3.89 MB / 0.7581 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.8396, allocations: 344.2 kB / 0.7585 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.8398, allocations: 157.2 kB / 0.7586 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/0.8399, allocations: 20.73 kB / 0.7586 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.8399, allocations: 41.84 kB / 0.7587 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.8399, allocations: 0 / 0.7587 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004862/0.8448, allocations: 1.617 MB / 0.7603 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/0.8449, allocations: 135.9 kB / 0.7604 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.8454, allocations: 0.6132 MB / 0.761 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.8455, allocations: 35.95 kB / 0.761 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.8457, allocations: 378.5 kB / 0.7614 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.8458, allocations: 148 kB / 0.7615 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.846, allocations: 156.6 kB / 0.7617 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8461, allocations: 374.7 kB / 0.762 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.8464, allocations: 204.7 kB / 0.7622 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.847, allocations: 0.5159 MB / 0.7627 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.8478, allocations: 0.7477 MB / 0.7635 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8478, allocations: 2.344 kB / 0.7635 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001214/0.849, allocations: 0.88 MB / 0.7643 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.849, allocations: 16.78 kB / 0.7643 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.849, allocations: 11.31 kB / 0.7643 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.8502, allocations: 311 kB / 0.7646 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.8506, allocations: 124.4 kB / 0.7648 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.8516, allocations: 0.9227 MB / 0.7657 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.852, allocations: 29.78 kB / 0.7657 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.8521, allocations: 69.67 kB / 0.7658 GB, free: 11.04 MB / 0.5762 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.0003042/0.8524, allocations: 251.7 kB / 0.766 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.8525, allocations: 67.3 kB / 0.7661 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.8539, allocations: 0.8639 MB / 0.7669 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.8539, allocations: 4.75 kB / 0.7669 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8539, allocations: 4.719 kB / 0.7669 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8539, allocations: 2.578 kB / 0.7669 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.8555, allocations: 1.213 MB / 0.7681 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8555, allocations: 3.562 kB / 0.7681 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.8565, allocations: 209.4 kB / 0.7683 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.8566, allocations: 25.28 kB / 0.7683 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.8566, allocations: 21.14 kB / 0.7683 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.8589, allocations: 2.683 MB / 0.771 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8589, allocations: 0.9375 kB / 0.771 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.8601, allocations: 0.812 MB / 0.7718 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.8603, allocations: 120.1 kB / 0.7719 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.8604, allocations: 12.03 kB / 0.7719 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.8608, allocations: 15.39 kB / 0.7719 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.8609, allocations: 47.19 kB / 0.7719 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.116e-05/0.8609, allocations: 44.62 kB / 0.772 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005155/0.8614, allocations: 440.6 kB / 0.7724 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8614, allocations: 1.203 kB / 0.7724 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009832/0.8624, allocations: 257.4 kB / 0.7727 GB, free: 7.551 MB / 0.5762 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.001977/0.8644, allocations: 1.54 MB / 0.7742 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.8654, allocations: 0.536 MB / 0.7747 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8654, allocations: 1.094 kB / 0.7747 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.8664, allocations: 406 kB / 0.7751 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.868, allocations: 374.6 kB / 0.7754 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/0.8761, allocations: 6.329 MB / 0.7816 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.8767, allocations: 0.9369 MB / 0.7825 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001073/0.8778, allocations: 460.4 kB / 0.783 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.8782, allocations: 287 kB / 0.7832 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.8782, allocations: 0 / 0.7832 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05505/0.9333, allocations: 25.06 MB / 0.8077 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.44, allocations: 8.062 kB / 0.8077 GB, free: 6.559 MB / 0.5919 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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: 17.666373846994247]