Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 241.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008142/0.0008142, allocations: 91.22 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003186, allocations: 15.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2423, allocations: 50.4 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/6.065, allocations: 2.814 GB / 3.207 GB, free: 129.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/6.066, allocations: 81.33 kB / 3.207 GB, free: 129.2 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.357/8.423, allocations: 0.7197 GB / 3.927 GB, free: 32.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/8.423, allocations: 0 / 3.927 GB, free: 32.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001421/8.423, allocations: 36.72 kB / 3.927 GB, free: 32.64 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01122/8.434, allocations: 2.874 MB / 3.93 GB, free: 31.26 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/8.434, allocations: 7.938 kB / 3.93 GB, free: 31.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/8.439, allocations: 0.6027 MB / 3.93 GB, free: 31.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/8.441, allocations: 1.098 MB / 3.931 GB, free: 30.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/8.442, allocations: 89.72 kB / 3.931 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004053/8.442, allocations: 104.8 kB / 3.932 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005511/8.448, allocations: 2.289 MB / 3.934 GB, free: 30.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/8.448, allocations: 12.23 kB / 3.934 GB, free: 30.47 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/8.448, allocations: 47.11 kB / 3.934 GB, free: 30.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-05/8.448, allocations: 89.28 kB / 3.934 GB, free: 30.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005648/8.454, allocations: 2.394 MB / 3.936 GB, free: 30.45 MB / 474.7 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.01278/8.466, allocations: 9.212 MB / 3.945 GB, free: 25.42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004523/8.471, allocations: 1.893 MB / 3.947 GB, free: 25.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/8.472, allocations: 0.7769 MB / 3.948 GB, free: 25.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0416/8.514, allocations: 24.44 MB / 3.972 GB, free: 26.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/8.514, allocations: 45 kB / 3.972 GB, free: 26.3 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001565/8.516, allocations: 210 kB / 3.972 GB, free: 26.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=109): time 7.554e-06/8.516, allocations: 0 / 3.972 GB, free: 26.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.01873/8.534, allocations: 4.633 MB / 3.977 GB, free: 25.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/8.535, allocations: 224.5 kB / 3.977 GB, free: 25.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/8.536, allocations: 0.9519 MB / 3.978 GB, free: 25.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002493/8.537, allocations: 48.89 kB / 3.978 GB, free: 25.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/8.537, allocations: 0.5549 MB / 3.978 GB, free: 25.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/8.537, allocations: 376 kB / 3.979 GB, free: 24.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/8.537, allocations: 28.06 kB / 3.979 GB, free: 24.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/8.538, allocations: 357.2 kB / 3.979 GB, free: 24.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/8.539, allocations: 0.6509 MB / 3.98 GB, free: 24.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/8.541, allocations: 1.019 MB / 3.981 GB, free: 24.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/8.543, allocations: 1.686 MB / 3.982 GB, free: 23.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/8.543, allocations: 3.156 kB / 3.982 GB, free: 23.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004253/8.548, allocations: 2.073 MB / 3.984 GB, free: 23.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002297/8.548, allocations: 376.8 kB / 3.985 GB, free: 23.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/8.548, allocations: 7.938 kB / 3.985 GB, free: 23.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02469/8.573, allocations: 3.06 MB / 3.988 GB, free: 23.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/8.574, allocations: 282.3 kB / 3.988 GB, free: 23.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/8.577, allocations: 1.444 MB / 3.989 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/8.579, allocations: 141.5 kB / 3.989 GB, free: 22.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/8.579, allocations: 69.53 kB / 3.99 GB, free: 22.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/8.579, allocations: 3.062 kB / 3.99 GB, free: 22.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004309/8.583, allocations: 1.794 MB / 3.991 GB, free: 22.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/8.583, allocations: 9.844 kB / 3.991 GB, free: 22.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007625/8.584, allocations: 199 kB / 3.991 GB, free: 22.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/8.586, allocations: 354 kB / 3.992 GB, free: 22.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008554/8.586, allocations: 0.7383 MB / 3.993 GB, free: 22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/8.588, allocations: 145.5 kB / 3.993 GB, free: 21.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/8.588, allocations: 67.45 kB / 3.993 GB, free: 21.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0009132/8.589, allocations: 439.6 kB / 3.993 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/8.59, allocations: 132.7 kB / 3.993 GB, free: 21.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007325/8.597, allocations: 5.66 MB / 3.999 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-05/8.597, allocations: 58.2 kB / 3.999 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/8.597, allocations: 0 / 3.999 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/8.597, allocations: 14.12 kB / 3.999 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009816/8.607, allocations: 7.71 MB / 4.006 GB, free: 20.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/8.607, allocations: 2.719 kB / 4.006 GB, free: 20.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/8.608, allocations: 207.3 kB / 4.007 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0215/8.629, allocations: 4.008 MB / 4.011 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003833/8.63, allocations: 28.83 kB / 4.011 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/8.633, allocations: 2.382 MB / 4.013 GB, free: 19.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/8.633, allocations: 3.281 kB / 4.013 GB, free: 19.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/8.639, allocations: 3.655 MB / 4.016 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/8.641, allocations: 0.6498 MB / 4.017 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/8.641, allocations: 26.47 kB / 4.017 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/8.643, allocations: 125 kB / 4.017 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/8.643, allocations: 105.4 kB / 4.017 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/8.643, allocations: 41.8 kB / 4.017 GB, free: 18.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001753/8.645, allocations: 1.062 MB / 4.018 GB, free: 18.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.645, allocations: 3.938 kB / 4.018 GB, free: 18.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008673/8.653, allocations: 1.957 MB / 4.02 GB, free: 18.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.009959/8.663, allocations: 2.183 MB / 4.022 GB, free: 17.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007173/8.671, allocations: 3.028 MB / 4.025 GB, free: 17.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/8.671, allocations: 4 kB / 4.025 GB, free: 17.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/8.673, allocations: 1.479 MB / 4.027 GB, free: 17.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/8.677, allocations: 0.6923 MB / 4.028 GB, free: 17.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007553/8.685, allocations: 5.284 MB / 4.033 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/8.686, allocations: 1.583 MB / 4.034 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002917/8.689, allocations: 1.465 MB / 4.036 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/8.69, allocations: 114 kB / 4.036 GB, free: 14.54 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/8.69, allocations: 0 / 4.036 GB, free: 14.54 MB / 490.7 MB Notification: Performance of Templates: time 0.3729/9.063, allocations: 69.7 MB / 4.104 GB, free: 55.58 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/InverseParameterization/InverseParameterization.csv","../files/Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches