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.001566/0.001567, allocations: 108.6 kB / 15.99 MB, free: 6.34 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.001416/0.001416, allocations: 193.1 kB / 16.9 MB, free: 6.18 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.739/1.739, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4882/0.4882, allocations: 43.49 MB / 313.6 MB, free: 8.465 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.001505/0.001506, allocations: 63.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1458, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4765/0.6224, allocations: 178.8 MB / 0.6044 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009517/0.632, allocations: 5.831 MB / 0.6101 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.6333, allocations: 23.81 kB / 0.6101 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.6346, allocations: 274.5 kB / 0.6103 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005371/0.64, allocations: 1.449 MB / 0.6118 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.644, allocations: 1.155 MB / 0.6129 GB, free: 476 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.6473, allocations: 1.852 MB / 0.6147 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.6482, allocations: 464.4 kB / 0.6151 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.6517, allocations: 1.207 MB / 0.6163 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.6535, allocations: 0.794 MB / 0.6171 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.6539, allocations: 64 kB / 0.6172 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.6565, allocations: 0.7489 MB / 0.6179 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006547/0.6572, allocations: 271.2 kB / 0.6181 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.6583, allocations: 398.2 kB / 0.6185 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.6615, allocations: 1.418 MB / 0.6199 GB, free: 9.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6616, allocations: 4 kB / 0.6199 GB, free: 9.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6616, allocations: 0 / 0.6199 GB, free: 9.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.313e-05/0.6616, allocations: 0 / 0.6199 GB, free: 9.258 MB / 494.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.003565/0.6652, allocations: 1.136 MB / 0.621 GB, free: 8.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.067e-05/0.6653, allocations: 15.89 kB / 0.621 GB, free: 8.059 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004444/0.6657, allocations: 98.5 kB / 0.6211 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.667, allocations: 135.1 kB / 0.6213 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6685, allocations: 0.5041 MB / 0.6218 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.6686, allocations: 104.4 kB / 0.6219 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.6688, allocations: 47.94 kB / 0.6219 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.6703, allocations: 0.8252 MB / 0.6227 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.6703, allocations: 4 kB / 0.6227 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.6704, allocations: 23.98 kB / 0.6227 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-05/0.6705, allocations: 40.92 kB / 0.6228 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.6716, allocations: 0.6204 MB / 0.6234 GB, free: 5.527 MB / 494.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.004941/0.6765, allocations: 3.979 MB / 0.6273 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.6771, allocations: 351.6 kB / 0.6276 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.6774, allocations: 180.2 kB / 0.6278 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/0.6779, allocations: 357.5 kB / 0.6281 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.6779, allocations: 42.78 kB / 0.6282 GB, free: 324 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/0.6779, allocations: 0 / 0.6282 GB, free: 324 kB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.2225/0.9004, allocations: 1.659 MB / 0.6298 GB, free: 159 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.9005, allocations: 131.2 kB / 0.6299 GB, free: 158.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.9012, allocations: 0.6131 MB / 0.6305 GB, free: 158.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.9013, allocations: 37.92 kB / 0.6305 GB, free: 158.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.9015, allocations: 370.1 kB / 0.6309 GB, free: 158.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.9016, allocations: 141.8 kB / 0.631 GB, free: 158.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.9019, allocations: 155.7 kB / 0.6312 GB, free: 158.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.902, allocations: 372 kB / 0.6315 GB, free: 158.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.9023, allocations: 201.1 kB / 0.6317 GB, free: 158.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.9028, allocations: 0.5129 MB / 0.6322 GB, free: 157.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.9036, allocations: 0.7444 MB / 0.6329 GB, free: 157.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.9036, allocations: 7.156 kB / 0.633 GB, free: 157.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001385/0.905, allocations: 0.8836 MB / 0.6338 GB, free: 157.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.905, allocations: 12.94 kB / 0.6338 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.9051, allocations: 14.44 kB / 0.6338 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.9065, allocations: 311.7 kB / 0.6341 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.907, allocations: 127.1 kB / 0.6343 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.908, allocations: 0.9302 MB / 0.6352 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/0.9088, allocations: 47.94 kB / 0.6352 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.9089, allocations: 67.84 kB / 0.6353 GB, free: 156.7 MB / 494.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.0004253/0.9093, allocations: 247.5 kB / 0.6355 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.9094, allocations: 67.03 kB / 0.6356 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.9108, allocations: 0.6849 MB / 0.6362 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9108, allocations: 2.875 kB / 0.6362 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9108, allocations: 0 / 0.6362 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.9109, allocations: 5.812 kB / 0.6363 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.9128, allocations: 1.61 MB / 0.6378 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.9129, allocations: 6.156 kB / 0.6378 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.9139, allocations: 206.6 kB / 0.638 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.914, allocations: 27.67 kB / 0.6381 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.914, allocations: 22.64 kB / 0.6381 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.9156, allocations: 2.877 MB / 0.6409 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9157, allocations: 3.938 kB / 0.6409 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.9168, allocations: 0.8034 MB / 0.6417 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.9171, allocations: 192.8 kB / 0.6419 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.9172, allocations: 14.97 kB / 0.6419 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.9176, allocations: 25.95 kB / 0.6419 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.9178, allocations: 34.03 kB / 0.6419 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.9178, allocations: 52.09 kB / 0.642 GB, free: 151.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005356/0.9184, allocations: 437.7 kB / 0.6424 GB, free: 151.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.9184, allocations: 0 / 0.6424 GB, free: 151.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001036/0.9194, allocations: 294.3 kB / 0.6427 GB, free: 151.5 MB / 494.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.002173/0.9216, allocations: 1.608 MB / 0.6442 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.923, allocations: 0.5947 MB / 0.6448 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.923, allocations: 3.172 kB / 0.6448 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009489/0.9239, allocations: 426.7 kB / 0.6452 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.9258, allocations: 367.2 kB / 0.6456 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008524/0.9343, allocations: 6.723 MB / 0.6522 GB, free: 145.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.9347, allocations: 0.9319 MB / 0.6531 GB, free: 145.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001106/0.9358, allocations: 256.6 kB / 0.6533 GB, free: 145.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.9363, allocations: 276.8 kB / 0.6536 GB, free: 144.9 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.9363, allocations: 0 / 0.6536 GB, free: 144.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05635/0.9927, allocations: 25 MB / 0.678 GB, free: 138.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.9929, allocations: 301.5 kB / 0.6783 GB, free: 138.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.566, allocations: 0 / 0.6783 GB, free: 138.1 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches