Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.001733/0.001733, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 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.00237/0.00237, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 46.94 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3046, allocations: 66.03 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2091/0.5137, allocations: 178.9 MB / 0.7354 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3188/0.8325, allocations: 5.371 MB / 0.7407 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.8332, allocations: 30.5 kB / 0.7407 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009605/0.8342, allocations: 321.8 kB / 0.741 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.8376, allocations: 1.383 MB / 0.7423 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.8402, allocations: 1.088 MB / 0.7434 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.8423, allocations: 1.878 MB / 0.7452 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.8428, allocations: 380.3 kB / 0.7456 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.845, allocations: 1.127 MB / 0.7467 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.8463, allocations: 0.7975 MB / 0.7475 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.8464, allocations: 66.06 kB / 0.7475 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.8479, allocations: 0.644 MB / 0.7482 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.8482, allocations: 272 kB / 0.7484 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.8487, allocations: 396.4 kB / 0.7488 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.8506, allocations: 1.305 MB / 0.7501 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8506, allocations: 0.9375 kB / 0.7501 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8506, allocations: 2.625 kB / 0.7501 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.8506, allocations: 0 / 0.7501 GB, free: 1.582 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.002287/0.8529, allocations: 1.05 MB / 0.7511 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8529, allocations: 7.531 kB / 0.7511 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.853, allocations: 96.2 kB / 0.7512 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007817/0.8538, allocations: 144.7 kB / 0.7514 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/0.8547, allocations: 475.5 kB / 0.7518 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.8548, allocations: 157.4 kB / 0.752 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/0.8549, allocations: 46.97 kB / 0.752 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.856, allocations: 0.8169 MB / 0.7528 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.856, allocations: 0 / 0.7528 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.8561, allocations: 31.86 kB / 0.7528 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.8561, allocations: 40.45 kB / 0.7529 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.857, allocations: 0.6193 MB / 0.7535 GB, free: 16.42 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.004274/0.8613, allocations: 3.893 MB / 0.7573 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.8618, allocations: 343.1 kB / 0.7576 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.862, allocations: 165.6 kB / 0.7578 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.8621, allocations: 12.38 kB / 0.7578 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.8621, allocations: 40.03 kB / 0.7578 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.8621, allocations: 0 / 0.7578 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004938/0.867, allocations: 1.613 MB / 0.7594 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.8671, allocations: 131.9 kB / 0.7595 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.8677, allocations: 0.6148 MB / 0.7601 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.8678, allocations: 35.72 kB / 0.7601 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.868, allocations: 380.6 kB / 0.7605 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.8681, allocations: 144.7 kB / 0.7606 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.8683, allocations: 161.1 kB / 0.7608 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.8685, allocations: 372.5 kB / 0.7612 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.8688, allocations: 208.5 kB / 0.7614 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.8693, allocations: 0.5097 MB / 0.7619 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.8702, allocations: 0.7483 MB / 0.7626 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8702, allocations: 6.562 kB / 0.7626 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001232/0.8714, allocations: 0.8779 MB / 0.7634 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.8715, allocations: 17.08 kB / 0.7635 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.8715, allocations: 10.03 kB / 0.7635 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.8728, allocations: 312.2 kB / 0.7638 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.8732, allocations: 128.5 kB / 0.7639 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.8744, allocations: 0.9246 MB / 0.7648 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.875, allocations: 32.38 kB / 0.7648 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/0.8751, allocations: 68.2 kB / 0.7649 GB, free: 11.03 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.0004507/0.8756, allocations: 249.4 kB / 0.7651 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.8757, allocations: 71.58 kB / 0.7652 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.8772, allocations: 0.8648 MB / 0.766 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.8772, allocations: 6.781 kB / 0.7661 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8772, allocations: 4.609 kB / 0.7661 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.8772, allocations: 6.891 kB / 0.7661 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.879, allocations: 1.206 MB / 0.7672 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.879, allocations: 2.906 kB / 0.7672 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009959/0.88, allocations: 212.4 kB / 0.7674 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.8801, allocations: 25.75 kB / 0.7675 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.8802, allocations: 21.16 kB / 0.7675 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.8823, allocations: 2.675 MB / 0.7701 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8823, allocations: 3.469 kB / 0.7701 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.8834, allocations: 0.817 MB / 0.7709 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.8837, allocations: 115.2 kB / 0.771 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.8838, allocations: 12.91 kB / 0.771 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.8842, allocations: 18.34 kB / 0.771 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.8843, allocations: 42.27 kB / 0.7711 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.8843, allocations: 44.66 kB / 0.7711 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004447/0.8848, allocations: 439.6 kB / 0.7715 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8848, allocations: 0 / 0.7715 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008915/0.8856, allocations: 256.1 kB / 0.7718 GB, free: 7.539 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.001849/0.8875, allocations: 1.545 MB / 0.7733 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009988/0.8885, allocations: 0.5337 MB / 0.7738 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.8885, allocations: 0 / 0.7738 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/0.8894, allocations: 410.6 kB / 0.7742 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.8909, allocations: 375.5 kB / 0.7746 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.8986, allocations: 6.334 MB / 0.7808 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.8991, allocations: 0.9297 MB / 0.7817 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009785/0.9001, allocations: 473.2 kB / 0.7821 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.9005, allocations: 279 kB / 0.7824 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.9005, allocations: 2.781 kB / 0.7824 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06464/0.9651, allocations: 25 MB / 0.8068 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.02, allocations: 15.55 kB / 0.8068 GB, free: 6.738 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.162152423057705]