Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 105.1 kB / 16.27 MB, free: 5.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001276, allocations: 191.5 kB / 17.19 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 68.05 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1114, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5216/0.633, allocations: 180.6 MB / 0.6066 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008125/0.6412, allocations: 5.756 MB / 0.6123 GB, free: 5.301 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.6427, allocations: 18.62 kB / 0.6123 GB, free: 5.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.6445, allocations: 310.8 kB / 0.6126 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006021/0.6505, allocations: 1.576 MB / 0.6141 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.6545, allocations: 1.235 MB / 0.6153 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.6571, allocations: 1.853 MB / 0.6171 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009152/0.6581, allocations: 466.6 kB / 0.6176 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005685/0.6638, allocations: 1.222 MB / 0.6188 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.6657, allocations: 0.7509 MB / 0.6195 GB, free: 496 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.666, allocations: 60.38 kB / 0.6195 GB, free: 496 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.6686, allocations: 0.7344 MB / 0.6203 GB, free: 156 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005052/0.6691, allocations: 262.1 kB / 0.6205 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008897/0.67, allocations: 402.3 kB / 0.6209 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.6727, allocations: 1.41 MB / 0.6223 GB, free: 14.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6727, allocations: 0 / 0.6223 GB, free: 14.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6727, allocations: 0 / 0.6223 GB, free: 14.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.6727, allocations: 0 / 0.6223 GB, free: 14.76 MB / 446.1 MB 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.002402/0.6751, allocations: 1.13 MB / 0.6234 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6752, allocations: 19.89 kB / 0.6234 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.6753, allocations: 98.5 kB / 0.6235 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009194/0.6763, allocations: 135.1 kB / 0.6236 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.6771, allocations: 0.5118 MB / 0.6241 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.6772, allocations: 100.4 kB / 0.6242 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6774, allocations: 48 kB / 0.6243 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.6788, allocations: 0.8252 MB / 0.6251 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.6788, allocations: 7.938 kB / 0.6251 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.6789, allocations: 27.94 kB / 0.6251 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.891e-05/0.679, allocations: 40.92 kB / 0.6251 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6802, allocations: 0.6166 MB / 0.6257 GB, free: 11.02 MB / 446.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.005294/0.6855, allocations: 3.981 MB / 0.6296 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.6862, allocations: 352.8 kB / 0.63 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.6865, allocations: 173.3 kB / 0.6301 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/0.6869, allocations: 369.4 kB / 0.6305 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.687, allocations: 38.84 kB / 0.6305 GB, free: 5.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.324e-06/0.687, allocations: 0 / 0.6305 GB, free: 5.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.006157/0.6932, allocations: 1.667 MB / 0.6322 GB, free: 4.062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.6933, allocations: 140.5 kB / 0.6323 GB, free: 3.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.694, allocations: 0.6094 MB / 0.6329 GB, free: 3.277 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.6941, allocations: 37.7 kB / 0.6329 GB, free: 3.234 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.6944, allocations: 366.8 kB / 0.6333 GB, free: 2.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.6945, allocations: 142 kB / 0.6334 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.6948, allocations: 158.5 kB / 0.6336 GB, free: 2.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.695, allocations: 374.8 kB / 0.6339 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.6954, allocations: 201.9 kB / 0.6341 GB, free: 1.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.696, allocations: 0.5163 MB / 0.6346 GB, free: 1.332 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.697, allocations: 0.7487 MB / 0.6353 GB, free: 456 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.6971, allocations: 0 / 0.6353 GB, free: 456 kB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001557/0.6986, allocations: 0.8759 MB / 0.6362 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6987, allocations: 8 kB / 0.6362 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.6987, allocations: 12 kB / 0.6362 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.7002, allocations: 324.1 kB / 0.6365 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.7006, allocations: 123.8 kB / 0.6366 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.7017, allocations: 0.9308 MB / 0.6375 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.7022, allocations: 36.06 kB / 0.6376 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.7023, allocations: 67.97 kB / 0.6376 GB, free: 14.04 MB / 462.1 MB 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.0003397/0.7027, allocations: 242.4 kB / 0.6379 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.7028, allocations: 63.25 kB / 0.6379 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.7044, allocations: 0.6885 MB / 0.6386 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7044, allocations: 4 kB / 0.6386 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.7044, allocations: 8 kB / 0.6386 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7044, allocations: 0 / 0.6386 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.7067, allocations: 1.622 MB / 0.6402 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.7067, allocations: 0 / 0.6402 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7077, allocations: 207.8 kB / 0.6404 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.013e-05/0.7078, allocations: 28.97 kB / 0.6404 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.7079, allocations: 16 kB / 0.6404 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.7099, allocations: 2.873 MB / 0.6433 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7099, allocations: 3.938 kB / 0.6433 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.7112, allocations: 0.8032 MB / 0.644 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.7115, allocations: 192.2 kB / 0.6442 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.7116, allocations: 8 kB / 0.6442 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.712, allocations: 23.92 kB / 0.6443 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.7122, allocations: 43.95 kB / 0.6443 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.7122, allocations: 43.98 kB / 0.6443 GB, free: 6.684 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005286/0.7128, allocations: 439 kB / 0.6448 GB, free: 6.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7128, allocations: 0 / 0.6448 GB, free: 6.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009467/0.7137, allocations: 292 kB / 0.645 GB, free: 5.973 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002267/0.716, allocations: 1.621 MB / 0.6466 GB, free: 4.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.7172, allocations: 0.6102 MB / 0.6472 GB, free: 3.707 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7173, allocations: 0 / 0.6472 GB, free: 3.707 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.7182, allocations: 414.2 kB / 0.6476 GB, free: 3.289 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.72, allocations: 376.5 kB / 0.648 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/0.7288, allocations: 6.528 MB / 0.6543 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.7294, allocations: 0.9261 MB / 0.6553 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.7305, allocations: 262 kB / 0.6555 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.731, allocations: 275.3 kB / 0.6558 GB, free: 10.54 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.731, allocations: 0 / 0.6558 GB, free: 10.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06019/0.7912, allocations: 25.14 MB / 0.6803 GB, free: 1.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.96, allocations: 19.5 kB / 0.6803 GB, free: 1.359 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches