Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.224e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.374, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.535, allocations: 438.1 MB / 0.7817 GB, free: 42.33 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/1.535, allocations: 91.88 kB / 0.7818 GB, free: 42.27 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.765/2.3, allocations: 152.1 MB / 0.9303 GB, free: 71.06 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.422e-06/2.3, allocations: 0 / 0.9303 GB, free: 71.06 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.408e-05/2.3, allocations: 12 kB / 0.9303 GB, free: 71.05 MB / 427.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.001065/2.301, allocations: 0.5874 MB / 0.9309 GB, free: 70.42 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/2.301, allocations: 12.03 kB / 0.9309 GB, free: 70.41 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/2.301, allocations: 47.66 kB / 0.9309 GB, free: 70.36 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/2.302, allocations: 282.5 kB / 0.9312 GB, free: 70.04 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/2.302, allocations: 15.94 kB / 0.9312 GB, free: 70.03 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/2.302, allocations: 16 kB / 0.9312 GB, free: 70.01 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004295/2.302, allocations: 173.1 kB / 0.9314 GB, free: 69.84 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/2.303, allocations: 270.6 kB / 0.9317 GB, free: 69.55 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/2.303, allocations: 8 kB / 0.9317 GB, free: 69.54 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/2.303, allocations: 0 / 0.9317 GB, free: 69.54 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/2.303, allocations: 11.95 kB / 0.9317 GB, free: 69.53 MB / 427.1 MB Warning: The model contains alias variables with conflicting start and/or 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.002052/2.305, allocations: 1.551 MB / 0.9332 GB, free: 67.84 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/2.306, allocations: 142.6 kB / 0.9333 GB, free: 67.69 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/2.306, allocations: 72.86 kB / 0.9334 GB, free: 67.61 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/2.306, allocations: 7.984 kB / 0.9334 GB, free: 67.61 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/2.306, allocations: 34.91 kB / 0.9334 GB, free: 67.56 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 2.494e-06/2.306, allocations: 0 / 0.9334 GB, free: 67.56 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.006542/2.312, allocations: 0.9878 MB / 0.9344 GB, free: 66.5 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/2.312, allocations: 55.41 kB / 0.9345 GB, free: 66.43 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/2.313, allocations: 200 kB / 0.9346 GB, free: 66.23 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/2.313, allocations: 25.7 kB / 0.9347 GB, free: 66.2 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/2.313, allocations: 246.1 kB / 0.9349 GB, free: 65.96 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/2.313, allocations: 90.69 kB / 0.935 GB, free: 65.87 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/2.313, allocations: 4 kB / 0.935 GB, free: 65.86 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/2.313, allocations: 322.8 kB / 0.9353 GB, free: 65.54 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/2.313, allocations: 83.92 kB / 0.9354 GB, free: 65.46 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/2.313, allocations: 168 kB / 0.9355 GB, free: 65.25 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/2.314, allocations: 116.4 kB / 0.9357 GB, free: 65.14 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/2.314, allocations: 0 / 0.9357 GB, free: 65.14 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008048/2.315, allocations: 343.2 kB / 0.936 GB, free: 64.79 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/2.315, allocations: 10.72 kB / 0.936 GB, free: 64.78 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/2.315, allocations: 4 kB / 0.936 GB, free: 64.78 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/2.315, allocations: 65.69 kB / 0.9361 GB, free: 64.71 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/2.316, allocations: 83.89 kB / 0.9361 GB, free: 64.62 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/2.317, allocations: 1.816 MB / 0.9379 GB, free: 62.67 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/2.317, allocations: 12.19 kB / 0.9379 GB, free: 62.66 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/2.317, allocations: 39.98 kB / 0.938 GB, free: 62.62 MB / 427.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 () * 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.0001392/2.318, allocations: 113.5 kB / 0.9381 GB, free: 62.5 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/2.318, allocations: 27.72 kB / 0.9381 GB, free: 62.47 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/2.319, allocations: 353.2 kB / 0.9384 GB, free: 62.12 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.319, allocations: 7.984 kB / 0.9384 GB, free: 62.11 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/2.319, allocations: 0 / 0.9384 GB, free: 62.11 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005566/2.319, allocations: 0.536 MB / 0.939 GB, free: 61.48 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/2.321, allocations: 0.6744 MB / 0.9396 GB, free: 60.76 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/2.321, allocations: 0 / 0.9396 GB, free: 60.76 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/2.321, allocations: 63.95 kB / 0.9397 GB, free: 60.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/2.321, allocations: 24.84 kB / 0.9397 GB, free: 60.67 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/2.321, allocations: 4 kB / 0.9397 GB, free: 60.66 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007931/2.322, allocations: 1.233 MB / 0.9409 GB, free: 59.32 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.322, allocations: 0 / 0.9409 GB, free: 59.32 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/2.323, allocations: 477.2 kB / 0.9414 GB, free: 58.82 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/2.323, allocations: 104.8 kB / 0.9415 GB, free: 58.7 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/2.323, allocations: 3.953 kB / 0.9415 GB, free: 58.69 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/2.324, allocations: 8 kB / 0.9415 GB, free: 58.68 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/2.324, allocations: 24.03 kB / 0.9415 GB, free: 58.66 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/2.324, allocations: 31.98 kB / 0.9415 GB, free: 58.63 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001879/2.324, allocations: 156.5 kB / 0.9417 GB, free: 58.48 MB / 427.1 MB Notification: Performance of sort global known variables: time 6.12e-07/2.324, allocations: 0 / 0.9417 GB, free: 58.48 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009138/2.325, allocations: 163.9 kB / 0.9418 GB, free: 58.32 MB / 427.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 () * 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.001473/2.326, allocations: 0.9099 MB / 0.9427 GB, free: 57.39 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0008433/2.327, allocations: 337.6 kB / 0.9431 GB, free: 57.05 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.327, allocations: 0 / 0.9431 GB, free: 57.05 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/2.328, allocations: 213.7 kB / 0.9433 GB, free: 56.83 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/2.329, allocations: 125 kB / 0.9434 GB, free: 56.71 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/2.33, allocations: 0.5085 MB / 0.9439 GB, free: 56.18 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/2.33, allocations: 0.7718 MB / 0.9446 GB, free: 55.37 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/2.331, allocations: 75.41 kB / 0.9447 GB, free: 55.3 MB / 427.1 MB Notification: Performance of SimCode: time 1.482e-05/2.331, allocations: 0 / 0.9447 GB, free: 55.3 MB / 427.1 MB Notification: Performance of Templates: time 0.02011/2.351, allocations: 11.03 MB / 0.9555 GB, free: 44.25 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches