Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 93.41 kB / 16.93 MB, free: 5.977 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.001169/0.001169, allocations: 181.3 kB / 17.82 MB, free: 5.645 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.481/1.481, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.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.0005111/0.0005112, allocations: 12 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09121, allocations: 47.58 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3251/0.4163, allocations: 138 MB / 466.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.4191, allocations: 1.935 MB / 468.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.4196, allocations: 8 kB / 468.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.4206, allocations: 139.3 kB / 468.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.4217, allocations: 275.1 kB / 468.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.4227, allocations: 276.2 kB / 469 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.4234, allocations: 483 kB / 469.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.4236, allocations: 72.69 kB / 469.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009912/0.4246, allocations: 434.8 kB / 469.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.4249, allocations: 183.3 kB / 470.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.4249, allocations: 12 kB / 470.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.4252, allocations: 107.8 kB / 470.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.4253, allocations: 71.78 kB / 470.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.4254, allocations: 85.58 kB / 470.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.4258, allocations: 397.5 kB / 470.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4258, allocations: 0 / 470.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4258, allocations: 0 / 470.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4259, allocations: 4 kB / 470.8 MB, free: 10.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009305/0.4268, allocations: 0.5229 MB / 471.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.4269, allocations: 8.031 kB / 471.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.4272, allocations: 43.61 kB / 471.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.4276, allocations: 270.5 kB / 471.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.4277, allocations: 20.56 kB / 471.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.4278, allocations: 28 kB / 471.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.4283, allocations: 311.6 kB / 472 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4284, allocations: 4 kB / 472 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.4284, allocations: 12 kB / 472 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4284, allocations: 7.953 kB / 472 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.4288, allocations: 205.6 kB / 472.2 MB, free: 8.844 MB / 366.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.001855/0.4307, allocations: 1.581 MB / 473.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.431, allocations: 174.7 kB / 473.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.431, allocations: 7.984 kB / 473.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.4311, allocations: 38.56 kB / 474 MB, free: 6.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.4311, allocations: 0 / 474 MB, free: 6.879 MB / 366.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005396/0.4365, allocations: 1.627 MB / 475.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.4365, allocations: 55.41 kB / 475.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.4368, allocations: 252.8 kB / 475.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.4368, allocations: 33.7 kB / 475.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4369, allocations: 172.3 kB / 476.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.437, allocations: 106.5 kB / 476.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.4371, allocations: 8 kB / 476.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4372, allocations: 334.8 kB / 476.5 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4373, allocations: 91.73 kB / 476.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4375, allocations: 183.7 kB / 476.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4377, allocations: 116 kB / 476.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4377, allocations: 4 kB / 476.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000586/0.4383, allocations: 387.6 kB / 477.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4384, allocations: 16.02 kB / 477.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4384, allocations: 4 kB / 477.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.4386, allocations: 77.58 kB / 477.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.4389, allocations: 83.89 kB / 477.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.4403, allocations: 1.848 MB / 479.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.4405, allocations: 32.23 kB / 479.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.4406, allocations: 40 kB / 479.4 MB, free: 1.059 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.4407, allocations: 161.6 kB / 479.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.4408, allocations: 23.72 kB / 479.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.4417, allocations: 446.1 kB / 480 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4417, allocations: 0 / 480 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4418, allocations: 4 kB / 480 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005288/0.4423, allocations: 0.5591 MB / 480.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.4432, allocations: 0.7232 MB / 481.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4432, allocations: 4.828 kB / 481.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.4435, allocations: 71.83 kB / 481.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-05/0.4436, allocations: 24.91 kB / 481.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.4436, allocations: 15.98 kB / 481.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000798/0.4444, allocations: 1.292 MB / 482.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4444, allocations: 3.938 kB / 482.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.4451, allocations: 0.49 MB / 483.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.4452, allocations: 113 kB / 483.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.4452, allocations: 4 kB / 483.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.4455, allocations: 15.98 kB / 483.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4455, allocations: 27.92 kB / 483.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.4456, allocations: 31.98 kB / 483.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.4458, allocations: 190 kB / 483.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4458, allocations: 0 / 483.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.4463, allocations: 124 kB / 483.7 MB, free: 12.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/0.4466, allocations: 143.9 kB / 483.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.4472, allocations: 374.6 kB / 484.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4472, allocations: 0 / 484.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.4475, allocations: 231.5 kB / 484.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.4483, allocations: 154.4 kB / 484.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4494, allocations: 0.8323 MB / 485.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.4497, allocations: 0.7723 MB / 486.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005414/0.4503, allocations: 122.9 kB / 486.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.4505, allocations: 67.41 kB / 486.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4505, allocations: 0 / 486.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of Templates: time 0.01255/0.463, allocations: 8.248 MB / 494.6 MB, free: 1.379 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches