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.001392/0.001392, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001581/0.001581, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2319/0.2319, allocations: 46.95 MB / 360.8 MB, free: 3.926 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 79.88 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3486, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2038/0.5524, allocations: 154.6 MB / 0.7117 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008334/0.5607, allocations: 4.932 MB / 0.7165 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.5616, allocations: 27.75 kB / 0.7166 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.5628, allocations: 302 kB / 0.7168 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.5671, allocations: 1.367 MB / 0.7182 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.5702, allocations: 1.064 MB / 0.7192 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.573, allocations: 1.871 MB / 0.7211 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008796/0.5739, allocations: 397.5 kB / 0.7214 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.5766, allocations: 1.113 MB / 0.7225 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.5784, allocations: 0.7666 MB / 0.7233 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.5786, allocations: 64 kB / 0.7233 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.5803, allocations: 0.5495 MB / 0.7239 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.5808, allocations: 275.1 kB / 0.7241 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006773/0.5814, allocations: 330.6 kB / 0.7244 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.5841, allocations: 1.312 MB / 0.7257 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5841, allocations: 0 / 0.7257 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5841, allocations: 0 / 0.7257 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.684e-05/0.5841, allocations: 0 / 0.7257 GB, free: 10.41 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.002994/0.5871, allocations: 1.042 MB / 0.7267 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5872, allocations: 8.031 kB / 0.7267 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.5873, allocations: 94.52 kB / 0.7268 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.5883, allocations: 147.3 kB / 0.727 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.5895, allocations: 489.3 kB / 0.7274 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.5896, allocations: 155.8 kB / 0.7276 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5897, allocations: 51.98 kB / 0.7276 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.5914, allocations: 1.136 MB / 0.7288 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.5915, allocations: 11.88 kB / 0.7288 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.5915, allocations: 20 kB / 0.7288 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/0.5916, allocations: 36.98 kB / 0.7288 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5927, allocations: 0.6127 MB / 0.7294 GB, free: 6.379 MB / 0.5606 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.004886/0.5976, allocations: 3.304 MB / 0.7326 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.5983, allocations: 350.3 kB / 0.733 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.5986, allocations: 157.3 kB / 0.7331 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-05/0.5987, allocations: 12.28 kB / 0.7331 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.5987, allocations: 42.83 kB / 0.7332 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.465e-06/0.5988, allocations: 0 / 0.7332 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00588/0.6046, allocations: 1.616 MB / 0.7348 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6047, allocations: 132.5 kB / 0.7349 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3209/0.9256, allocations: 0.6267 MB / 0.7355 GB, free: 44.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.9257, allocations: 32.52 kB / 0.7355 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.926, allocations: 375.7 kB / 0.7359 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.9262, allocations: 153.2 kB / 0.736 GB, free: 44.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.9265, allocations: 158.6 kB / 0.7362 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9266, allocations: 375.3 kB / 0.7365 GB, free: 43.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.9271, allocations: 203.8 kB / 0.7367 GB, free: 43.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.9277, allocations: 0.5888 MB / 0.7373 GB, free: 43.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.9289, allocations: 0.7517 MB / 0.738 GB, free: 42.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.9289, allocations: 2.375 kB / 0.738 GB, free: 42.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001628/0.9305, allocations: 0.8769 MB / 0.7389 GB, free: 42.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.9306, allocations: 13.56 kB / 0.7389 GB, free: 42.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.9306, allocations: 11.19 kB / 0.7389 GB, free: 42.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.9318, allocations: 307.4 kB / 0.7392 GB, free: 42.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.9322, allocations: 124.1 kB / 0.7393 GB, free: 42.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009049/0.9331, allocations: 0.9336 MB / 0.7403 GB, free: 42.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.9337, allocations: 30.83 kB / 0.7403 GB, free: 42.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/0.9337, allocations: 63.62 kB / 0.7403 GB, free: 42.28 MB / 0.5606 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.000323/0.9341, allocations: 250.1 kB / 0.7406 GB, free: 42.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.9342, allocations: 68.95 kB / 0.7406 GB, free: 42.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.9356, allocations: 0.8681 MB / 0.7415 GB, free: 42.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.9356, allocations: 8.266 kB / 0.7415 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9356, allocations: 7.172 kB / 0.7415 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.9356, allocations: 2.375 kB / 0.7415 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.9373, allocations: 1.133 MB / 0.7426 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9373, allocations: 2.969 kB / 0.7426 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/0.9382, allocations: 210.4 kB / 0.7428 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.2e-05/0.9383, allocations: 28.59 kB / 0.7428 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.9384, allocations: 19.12 kB / 0.7429 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.9396, allocations: 2.667 MB / 0.7455 GB, free: 39.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9396, allocations: 4.125 kB / 0.7455 GB, free: 39.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.9406, allocations: 0.8247 MB / 0.7463 GB, free: 38.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.9408, allocations: 118 kB / 0.7464 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.9409, allocations: 11 kB / 0.7464 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.9413, allocations: 20 kB / 0.7464 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.9414, allocations: 44.22 kB / 0.7465 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.9414, allocations: 41.52 kB / 0.7465 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000386/0.9418, allocations: 437 kB / 0.7469 GB, free: 38.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9418, allocations: 1.094 kB / 0.7469 GB, free: 38.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007861/0.9426, allocations: 258.5 kB / 0.7472 GB, free: 38.84 MB / 0.5606 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.001518/0.9441, allocations: 1.538 MB / 0.7487 GB, free: 38.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009488/0.9451, allocations: 0.5316 MB / 0.7492 GB, free: 38.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9451, allocations: 1 kB / 0.7492 GB, free: 38.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008196/0.9459, allocations: 419.8 kB / 0.7496 GB, free: 37.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.9473, allocations: 371.7 kB / 0.7499 GB, free: 37.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.9536, allocations: 6.325 MB / 0.7561 GB, free: 35.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.9538, allocations: 333.4 kB / 0.7564 GB, free: 35.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008623/0.9547, allocations: 461.9 kB / 0.7569 GB, free: 35.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.9551, allocations: 291.5 kB / 0.7572 GB, free: 35.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.9551, allocations: 0 / 0.7572 GB, free: 35.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/1.067, allocations: 25.64 MB / 0.7822 GB, free: 29.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.75, allocations: 3.984 kB / 0.7822 GB, free: 29.33 MB / 0.5606 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: 18.153909564949572]