Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 96.97 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3536/0.3536, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002953, allocations: 4 kB / 468.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4209, allocations: 63.25 MB / 0.5192 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.576/6.997, allocations: 2.824 GB / 3.344 GB, free: 85.42 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/6.997, allocations: 81.41 kB / 3.344 GB, free: 85.38 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.132/10.13, allocations: 0.7586 GB / 4.102 GB, free: 42.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.587e-06/10.13, allocations: 6.344 kB / 4.102 GB, free: 42.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002212/10.13, allocations: 39.34 kB / 4.102 GB, free: 42.12 MB / 0.5573 GB 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.01484/10.14, allocations: 2.884 MB / 4.105 GB, free: 40.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/10.14, allocations: 8.938 kB / 4.105 GB, free: 40.9 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005713/10.15, allocations: 0.6129 MB / 4.106 GB, free: 40.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/10.15, allocations: 1.068 MB / 4.107 GB, free: 40.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/10.15, allocations: 93.17 kB / 4.107 GB, free: 40.49 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006802/10.16, allocations: 110.2 kB / 4.107 GB, free: 40.49 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007977/10.16, allocations: 2.28 MB / 4.109 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/10.16, allocations: 5.062 kB / 4.109 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/10.16, allocations: 55.58 kB / 4.109 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/10.16, allocations: 81.84 kB / 4.109 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007186/10.17, allocations: 2.391 MB / 4.112 GB, free: 40.12 MB / 0.5573 GB 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.01619/10.19, allocations: 9.2 MB / 4.121 GB, free: 35.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004943/10.19, allocations: 1.902 MB / 4.123 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0463/10.24, allocations: 27 MB / 4.149 GB, free: 33.51 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/10.24, allocations: 48.22 kB / 4.149 GB, free: 33.46 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001609/10.24, allocations: 210.6 kB / 4.149 GB, free: 33.41 MB / 0.573 GB Notification: Performance of pre-optimization done (n=109): time 7.674e-06/10.24, allocations: 0 / 4.149 GB, free: 33.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=109): time 0.01851/10.26, allocations: 4.448 MB / 4.153 GB, free: 33.18 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/10.26, allocations: 227 kB / 4.154 GB, free: 32.93 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/10.26, allocations: 0.8362 MB / 4.154 GB, free: 32.78 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/10.26, allocations: 51.08 kB / 4.155 GB, free: 32.75 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/10.26, allocations: 0.5611 MB / 4.155 GB, free: 32.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/10.26, allocations: 372.5 kB / 4.155 GB, free: 32.26 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/10.26, allocations: 29.38 kB / 4.155 GB, free: 32.26 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001759/10.26, allocations: 358.6 kB / 4.156 GB, free: 31.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/10.26, allocations: 0.6492 MB / 4.156 GB, free: 31.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/10.27, allocations: 1.011 MB / 4.157 GB, free: 31.55 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/10.27, allocations: 0.7641 MB / 4.158 GB, free: 31.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/10.27, allocations: 3.969 kB / 4.158 GB, free: 31.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004023/10.27, allocations: 2.079 MB / 4.16 GB, free: 31.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/10.27, allocations: 3.747 MB / 4.164 GB, free: 27.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/10.27, allocations: 10.88 kB / 4.164 GB, free: 27.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03113/10.3, allocations: 3.066 MB / 4.167 GB, free: 27.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/10.3, allocations: 278.8 kB / 4.167 GB, free: 27.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/10.31, allocations: 1.447 MB / 4.169 GB, free: 26.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/10.31, allocations: 139.3 kB / 4.169 GB, free: 26.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/10.31, allocations: 69.78 kB / 4.169 GB, free: 26.89 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/10.31, allocations: 5.156 kB / 4.169 GB, free: 26.89 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004722/10.32, allocations: 1.796 MB / 4.171 GB, free: 26.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/10.32, allocations: 11.09 kB / 4.171 GB, free: 26.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/10.32, allocations: 195.2 kB / 4.171 GB, free: 26.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/10.32, allocations: 357 kB / 4.171 GB, free: 26.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009338/10.32, allocations: 0.7459 MB / 4.172 GB, free: 26.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/10.32, allocations: 129.8 kB / 4.172 GB, free: 26.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/10.32, allocations: 77.34 kB / 4.172 GB, free: 26.28 MB / 0.573 GB 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.001083/10.32, allocations: 422.9 kB / 4.172 GB, free: 26.08 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/10.32, allocations: 131.7 kB / 4.173 GB, free: 26.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007906/10.33, allocations: 5.664 MB / 4.178 GB, free: 25.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/10.33, allocations: 62.83 kB / 4.178 GB, free: 25.39 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/10.33, allocations: 0 / 4.178 GB, free: 25.39 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/10.33, allocations: 9.703 kB / 4.178 GB, free: 25.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/10.34, allocations: 7.715 MB / 4.186 GB, free: 24.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/10.34, allocations: 7.906 kB / 4.186 GB, free: 24.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/10.34, allocations: 209.9 kB / 4.186 GB, free: 24.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0263/10.37, allocations: 4.03 MB / 4.19 GB, free: 24.56 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/10.37, allocations: 30.33 kB / 4.19 GB, free: 24.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/10.37, allocations: 2.385 MB / 4.192 GB, free: 23.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/10.37, allocations: 0 / 4.192 GB, free: 23.98 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00584/10.38, allocations: 3.683 MB / 4.196 GB, free: 23.47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/10.38, allocations: 0.6503 MB / 4.196 GB, free: 23.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/10.38, allocations: 25.31 kB / 4.196 GB, free: 23.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/10.38, allocations: 138.3 kB / 4.197 GB, free: 23.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/10.38, allocations: 98.36 kB / 4.197 GB, free: 23.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/10.38, allocations: 46.38 kB / 4.197 GB, free: 23.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001763/10.38, allocations: 1.056 MB / 4.198 GB, free: 23.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/10.38, allocations: 0 / 4.198 GB, free: 23.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008761/10.39, allocations: 1.973 MB / 4.2 GB, free: 22.77 MB / 0.573 GB 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.0104/10.4, allocations: 2.203 MB / 4.202 GB, free: 22.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007012/10.41, allocations: 3.021 MB / 4.205 GB, free: 22.17 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/10.41, allocations: 5.375 kB / 4.205 GB, free: 22.17 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002483/10.41, allocations: 1.489 MB / 4.206 GB, free: 22.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/10.42, allocations: 0.6794 MB / 4.207 GB, free: 22.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/10.42, allocations: 5.28 MB / 4.212 GB, free: 19.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/10.42, allocations: 1.627 MB / 4.214 GB, free: 19.05 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002602/10.43, allocations: 1.478 MB / 4.215 GB, free: 19 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/10.43, allocations: 106 kB / 4.215 GB, free: 18.99 MB / 0.573 GB Notification: Performance of SimCode: time 7.81e-07/10.43, allocations: 3.688 kB / 4.215 GB, free: 18.99 MB / 0.573 GB Notification: Performance of Templates: time 0.08964/10.52, allocations: 67.12 MB / 4.281 GB, free: 13.43 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestExamplesVariants/InverseParameterization_laminar/InverseParameterization_laminar.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches