Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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_turbulent,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_turbulent") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,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_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009888/0.0009886, allocations: 102.4 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4089/0.4089, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002967, allocations: 4 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4422, allocations: 63.24 MB / 0.5192 GB, free: 43.89 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.206/6.648, allocations: 2.824 GB / 3.344 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/6.649, allocations: 88.23 kB / 3.344 GB, free: 161.5 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 2.88/9.529, allocations: 0.7586 GB / 4.102 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/9.529, allocations: 0 / 4.102 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002095/9.529, allocations: 30.47 kB / 4.102 GB, free: 42.91 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.01494/9.544, allocations: 2.885 MB / 4.105 GB, free: 40.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/9.544, allocations: 12.03 kB / 4.105 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/9.549, allocations: 0.6028 MB / 4.106 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/9.553, allocations: 1.078 MB / 4.107 GB, free: 39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/9.553, allocations: 93.23 kB / 4.107 GB, free: 38.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/9.554, allocations: 110.6 kB / 4.107 GB, free: 38.81 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006259/9.56, allocations: 2.28 MB / 4.109 GB, free: 36.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/9.56, allocations: 0 / 4.109 GB, free: 36.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/9.56, allocations: 51.59 kB / 4.109 GB, free: 36.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/9.561, allocations: 85.94 kB / 4.109 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005609/9.566, allocations: 2.397 MB / 4.112 GB, free: 34.16 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.01401/9.58, allocations: 9.204 MB / 4.121 GB, free: 24.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/9.585, allocations: 1.903 MB / 4.123 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04584/9.631, allocations: 27 MB / 4.149 GB, free: 8.105 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/9.631, allocations: 43.56 kB / 4.149 GB, free: 8.055 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001657/9.632, allocations: 210.7 kB / 4.149 GB, free: 7.848 MB / 0.573 GB Notification: Performance of pre-optimization done (n=109): time 3.206e-06/9.632, allocations: 0 / 4.149 GB, free: 7.848 MB / 0.573 GB Notification: Performance of matching and sorting (n=109): time 0.01975/9.652, allocations: 4.454 MB / 4.153 GB, free: 3.367 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/9.652, allocations: 222.6 kB / 4.154 GB, free: 3.098 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/9.654, allocations: 0.8365 MB / 4.155 GB, free: 2.246 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/9.655, allocations: 45.7 kB / 4.155 GB, free: 2.195 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/9.655, allocations: 0.5672 MB / 4.155 GB, free: 1.625 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/9.656, allocations: 373.5 kB / 4.155 GB, free: 1.262 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/9.656, allocations: 24 kB / 4.155 GB, free: 1.238 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001605/9.656, allocations: 357.9 kB / 4.156 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/9.657, allocations: 0.6467 MB / 4.156 GB, free: 240 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4553/10.11, allocations: 1.009 MB / 4.157 GB, free: 63.91 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/10.12, allocations: 0.7639 MB / 4.158 GB, free: 63.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/10.12, allocations: 2.406 kB / 4.158 GB, free: 63.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005368/10.12, allocations: 2.072 MB / 4.16 GB, free: 63.85 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001058/10.12, allocations: 3.755 MB / 4.164 GB, free: 59.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/10.12, allocations: 8.938 kB / 4.164 GB, free: 59.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03184/10.15, allocations: 3.069 MB / 4.167 GB, free: 59.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/10.16, allocations: 275.3 kB / 4.167 GB, free: 59.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/10.16, allocations: 1.447 MB / 4.169 GB, free: 59.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/10.16, allocations: 145.8 kB / 4.169 GB, free: 59.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/10.16, allocations: 74.22 kB / 4.169 GB, free: 59.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/10.16, allocations: 3.719 kB / 4.169 GB, free: 59.42 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004916/10.17, allocations: 1.788 MB / 4.171 GB, free: 59.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/10.17, allocations: 10.03 kB / 4.171 GB, free: 59.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008721/10.17, allocations: 193.3 kB / 4.171 GB, free: 59.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/10.17, allocations: 349.2 kB / 4.171 GB, free: 59.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008626/10.17, allocations: 0.7386 MB / 4.172 GB, free: 58.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/10.17, allocations: 149.1 kB / 4.172 GB, free: 58.87 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/10.17, allocations: 77.33 kB / 4.172 GB, free: 58.87 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.001104/10.17, allocations: 426.1 kB / 4.172 GB, free: 58.68 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/10.17, allocations: 130.1 kB / 4.173 GB, free: 58.67 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008413/10.18, allocations: 5.655 MB / 4.178 GB, free: 58.21 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/10.18, allocations: 60.5 kB / 4.178 GB, free: 58.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/10.18, allocations: 7.547 kB / 4.178 GB, free: 58.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/10.18, allocations: 8.062 kB / 4.178 GB, free: 58.21 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/10.19, allocations: 7.706 MB / 4.186 GB, free: 57.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/10.19, allocations: 0 / 4.186 GB, free: 57.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/10.19, allocations: 209.2 kB / 4.186 GB, free: 57.65 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02798/10.22, allocations: 4.042 MB / 4.19 GB, free: 57.56 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000425/10.22, allocations: 34.08 kB / 4.19 GB, free: 57.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/10.23, allocations: 2.374 MB / 4.192 GB, free: 57 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/10.23, allocations: 0 / 4.192 GB, free: 57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/10.23, allocations: 3.694 MB / 4.196 GB, free: 56.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/10.23, allocations: 0.6446 MB / 4.196 GB, free: 56.28 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006192/10.24, allocations: 27.03 kB / 4.196 GB, free: 56.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/10.24, allocations: 131.2 kB / 4.197 GB, free: 56.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/10.24, allocations: 100.1 kB / 4.197 GB, free: 56.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/10.24, allocations: 51.3 kB / 4.197 GB, free: 56.27 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00232/10.24, allocations: 1.056 MB / 4.198 GB, free: 56.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.8e-07/10.24, allocations: 3.469 kB / 4.198 GB, free: 56.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01078/10.25, allocations: 1.981 MB / 4.2 GB, free: 56.13 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.01256/10.26, allocations: 2.199 MB / 4.202 GB, free: 55.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008855/10.27, allocations: 3.025 MB / 4.205 GB, free: 55.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/10.27, allocations: 0.9844 kB / 4.205 GB, free: 55.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002966/10.28, allocations: 1.489 MB / 4.206 GB, free: 55.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/10.28, allocations: 0.6905 MB / 4.207 GB, free: 55.79 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/10.29, allocations: 5.278 MB / 4.212 GB, free: 53.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/10.29, allocations: 1.625 MB / 4.214 GB, free: 52.85 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004088/10.3, allocations: 1.464 MB / 4.215 GB, free: 52.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/10.3, allocations: 111.5 kB / 4.215 GB, free: 52.83 MB / 0.573 GB Notification: Performance of SimCode: time 2.926e-06/10.3, allocations: 0 / 4.215 GB, free: 52.83 MB / 0.573 GB Notification: Performance of Templates: time 0.1076/10.41, allocations: 67.12 MB / 4.281 GB, free: 49.79 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestExamplesVariants/InverseParameterization_turbulent/InverseParameterization_turbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches