Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.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.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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001668/0.001668, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 96.11 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003074, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3373, allocations: 47.56 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.948/8.286, allocations: 2.808 GB / 3.175 GB, free: 70.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/8.286, allocations: 86.95 kB / 3.175 GB, free: 70.12 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 3.527/11.81, allocations: 0.7501 GB / 3.925 GB, free: 31.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.494e-06/11.81, allocations: 3.281 kB / 3.925 GB, free: 31.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002056/11.81, allocations: 37.09 kB / 3.926 GB, free: 31.22 MB / 458.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.0153/11.83, allocations: 2.875 MB / 3.928 GB, free: 30.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/11.83, allocations: 7.75 kB / 3.928 GB, free: 30.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/11.83, allocations: 0.6006 MB / 3.929 GB, free: 29.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/11.84, allocations: 1.072 MB / 3.93 GB, free: 29.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/11.84, allocations: 91.53 kB / 3.93 GB, free: 29.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/11.84, allocations: 109.3 kB / 3.93 GB, free: 29.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005396/11.84, allocations: 2.276 MB / 3.932 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/11.84, allocations: 4.312 kB / 3.932 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/11.84, allocations: 57.91 kB / 3.932 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/11.84, allocations: 83.72 kB / 3.933 GB, free: 29.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005303/11.85, allocations: 2.398 MB / 3.935 GB, free: 29.29 MB / 458.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.01445/11.86, allocations: 9.196 MB / 3.944 GB, free: 24.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/11.87, allocations: 1.901 MB / 3.946 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05211/11.92, allocations: 24.44 MB / 3.97 GB, free: 25.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.878e-05/11.92, allocations: 45.75 kB / 3.97 GB, free: 25.27 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00208/11.92, allocations: 213.5 kB / 3.97 GB, free: 25.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 1.433e-05/11.92, allocations: 0 / 3.97 GB, free: 25.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=109): time 0.02051/11.94, allocations: 4.455 MB / 3.974 GB, free: 24.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/11.95, allocations: 217.8 kB / 3.974 GB, free: 24.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/11.95, allocations: 0.8444 MB / 3.975 GB, free: 24.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003275/11.95, allocations: 41.33 kB / 3.975 GB, free: 24.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/11.95, allocations: 0.561 MB / 3.976 GB, free: 24.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000671/11.95, allocations: 372.2 kB / 3.976 GB, free: 24.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/11.95, allocations: 20.44 kB / 3.976 GB, free: 24.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002717/11.95, allocations: 357.4 kB / 3.976 GB, free: 23.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/11.95, allocations: 0.6484 MB / 3.977 GB, free: 23.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/11.95, allocations: 1.016 MB / 3.978 GB, free: 23.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/11.95, allocations: 0.7654 MB / 3.979 GB, free: 23.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/11.95, allocations: 3.156 kB / 3.979 GB, free: 23.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004759/11.96, allocations: 2.084 MB / 3.981 GB, free: 23.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002181/11.96, allocations: 3.749 MB / 3.985 GB, free: 19.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/11.96, allocations: 10.59 kB / 3.985 GB, free: 19.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02976/11.99, allocations: 3.018 MB / 3.988 GB, free: 19.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/11.99, allocations: 281.5 kB / 3.988 GB, free: 19.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/12, allocations: 1.448 MB / 3.989 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/12, allocations: 141.2 kB / 3.989 GB, free: 18.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004286/12, allocations: 75.42 kB / 3.989 GB, free: 18.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/12, allocations: 7.375 kB / 3.989 GB, free: 18.75 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005093/12, allocations: 1.791 MB / 3.991 GB, free: 18.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/12, allocations: 11.03 kB / 3.991 GB, free: 18.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009108/12.01, allocations: 198.9 kB / 3.991 GB, free: 18.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/12.01, allocations: 343.6 kB / 3.992 GB, free: 18.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/12.01, allocations: 0.7505 MB / 3.992 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/12.01, allocations: 139.6 kB / 3.993 GB, free: 18.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/12.01, allocations: 68.92 kB / 3.993 GB, free: 18.19 MB / 474.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.001278/12.01, allocations: 425.7 kB / 3.993 GB, free: 17.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/12.01, allocations: 133.9 kB / 3.993 GB, free: 17.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009073/12.02, allocations: 5.67 MB / 3.999 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-05/12.02, allocations: 56.34 kB / 3.999 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/12.02, allocations: 7.438 kB / 3.999 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/12.02, allocations: 6.234 kB / 3.999 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/12.04, allocations: 7.705 MB / 4.006 GB, free: 16.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/12.04, allocations: 7.422 kB / 4.006 GB, free: 16.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008794/12.04, allocations: 204.8 kB / 4.006 GB, free: 16.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02607/12.06, allocations: 4.008 MB / 4.01 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004667/12.06, allocations: 28.36 kB / 4.01 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/12.07, allocations: 2.375 MB / 4.013 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/12.07, allocations: 13.69 kB / 4.013 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/12.07, allocations: 3.675 MB / 4.016 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/12.08, allocations: 0.6413 MB / 4.017 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005371/12.08, allocations: 27.88 kB / 4.017 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/12.08, allocations: 129.2 kB / 4.017 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/12.08, allocations: 100.6 kB / 4.017 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/12.08, allocations: 40.72 kB / 4.017 GB, free: 15.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00196/12.08, allocations: 1.062 MB / 4.018 GB, free: 14.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/12.08, allocations: 2.531 kB / 4.018 GB, free: 14.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01004/12.09, allocations: 1.952 MB / 4.02 GB, free: 14.73 MB / 474.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.01172/12.1, allocations: 2.181 MB / 4.022 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008398/12.11, allocations: 3.03 MB / 4.025 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/12.11, allocations: 0 / 4.025 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002939/12.11, allocations: 1.481 MB / 4.027 GB, free: 14.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/12.12, allocations: 0.6791 MB / 4.027 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008834/12.13, allocations: 5.281 MB / 4.033 GB, free: 11.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/12.13, allocations: 1.629 MB / 4.034 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003434/12.13, allocations: 1.468 MB / 4.036 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/12.13, allocations: 115.8 kB / 4.036 GB, free: 10.92 MB / 474.7 MB Notification: Performance of SimCode: time 2.465e-06/12.13, allocations: 0 / 4.036 GB, free: 10.92 MB / 474.7 MB Notification: Performance of Templates: time 0.4382/12.57, allocations: 67.01 MB / 4.101 GB, free: 61.61 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/InverseParameterization/InverseParameterization.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches