Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009463/0.0009464, allocations: 86.16 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2156/0.2156, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.049e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.721/6.842, allocations: 2.817 GB / 3.283 GB, free: 56.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/6.842, allocations: 80.38 kB / 3.283 GB, free: 56.36 MB / 0.4948 GB [/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 2.898/9.74, allocations: 0.7415 GB / 4.025 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/9.74, allocations: 0 / 4.025 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002083/9.74, allocations: 42.28 kB / 4.025 GB, free: 52.37 MB / 0.5261 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.01421/9.754, allocations: 2.713 MB / 4.028 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/9.754, allocations: 13.16 kB / 4.028 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005285/9.76, allocations: 0.5993 MB / 4.028 GB, free: 50.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/9.763, allocations: 1.07 MB / 4.029 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/9.764, allocations: 43.92 kB / 4.029 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006001/9.764, allocations: 59.81 kB / 4.029 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003898/9.768, allocations: 1.754 MB / 4.031 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/9.772, allocations: 1.555 MB / 4.033 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/9.773, allocations: 2.625 kB / 4.033 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/9.773, allocations: 5.656 kB / 4.033 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/9.773, allocations: 80.48 kB / 4.033 GB, free: 50.3 MB / 0.5261 GB 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.7537/10.53, allocations: 167.3 MB / 4.196 GB, free: 80.37 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/10.53, allocations: 1.118 MB / 4.197 GB, free: 80.34 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007484/10.53, allocations: 0.5666 MB / 4.198 GB, free: 80.33 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02685/10.56, allocations: 16.9 MB / 4.214 GB, free: 69.91 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/10.56, allocations: 47.45 kB / 4.214 GB, free: 69.88 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001466/10.56, allocations: 172.3 kB / 4.214 GB, free: 69.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=91): time 3.106e-06/10.56, allocations: 0 / 4.214 GB, free: 69.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=91): time 0.007924/10.57, allocations: 2.402 MB / 4.217 GB, free: 69.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/10.57, allocations: 214.1 kB / 4.217 GB, free: 69.55 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/10.57, allocations: 0.7448 MB / 4.218 GB, free: 69.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.984e-05/10.57, allocations: 28.14 kB / 4.218 GB, free: 69.38 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/10.57, allocations: 0.6236 MB / 4.218 GB, free: 69.12 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/10.57, allocations: 306.1 kB / 4.219 GB, free: 68.97 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/10.57, allocations: 0 / 4.219 GB, free: 68.97 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001459/10.57, allocations: 361.1 kB / 4.219 GB, free: 68.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008688/10.57, allocations: 0.5339 MB / 4.22 GB, free: 68.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/10.57, allocations: 0.8891 MB / 4.22 GB, free: 68.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005065/10.58, allocations: 1.189 MB / 4.222 GB, free: 68.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/10.58, allocations: 1.938 kB / 4.222 GB, free: 68.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006619/10.58, allocations: 2.302 MB / 4.224 GB, free: 68.14 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007879/10.58, allocations: 3.753 MB / 4.227 GB, free: 64.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/10.58, allocations: 10.59 kB / 4.227 GB, free: 64.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/10.59, allocations: 1.057 MB / 4.228 GB, free: 64.19 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/10.59, allocations: 275.8 kB / 4.229 GB, free: 64.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/10.59, allocations: 1.772 MB / 4.23 GB, free: 63.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/10.6, allocations: 186.6 kB / 4.231 GB, free: 63.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/10.6, allocations: 76.89 kB / 4.231 GB, free: 63.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/10.6, allocations: 3.656 kB / 4.231 GB, free: 63.62 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005536/10.6, allocations: 1.762 MB / 4.232 GB, free: 63.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/10.6, allocations: 9.625 kB / 4.232 GB, free: 63.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/10.6, allocations: 185.1 kB / 4.233 GB, free: 63.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/10.6, allocations: 349.3 kB / 4.233 GB, free: 63.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007953/10.6, allocations: 0.7548 MB / 4.234 GB, free: 63.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/10.61, allocations: 148 kB / 4.234 GB, free: 63.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/10.61, allocations: 73.72 kB / 4.234 GB, free: 63.01 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,pump.heatTransfer.states[1].phase,source.medium.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 () * 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.0003638/10.61, allocations: 150.9 kB / 4.234 GB, free: 62.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/10.61, allocations: 119.9 kB / 4.234 GB, free: 62.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007505/10.61, allocations: 3.864 MB / 4.238 GB, free: 62.55 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/10.61, allocations: 33.81 kB / 4.238 GB, free: 62.55 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/10.61, allocations: 2.312 kB / 4.238 GB, free: 62.55 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/10.61, allocations: 3.844 kB / 4.238 GB, free: 62.55 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009537/10.62, allocations: 5.318 MB / 4.243 GB, free: 62.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/10.62, allocations: 2.344 kB / 4.243 GB, free: 62.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/10.62, allocations: 110.2 kB / 4.243 GB, free: 62.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00413/10.63, allocations: 2.502 MB / 4.246 GB, free: 62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.694e-05/10.63, allocations: 11.22 kB / 4.246 GB, free: 62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/10.63, allocations: 2.885 MB / 4.249 GB, free: 61.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/10.63, allocations: 3.375 kB / 4.249 GB, free: 61.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006734/10.64, allocations: 3.088 MB / 4.252 GB, free: 61.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/10.64, allocations: 465.6 kB / 4.252 GB, free: 60.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/10.64, allocations: 3.094 kB / 4.252 GB, free: 60.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/10.64, allocations: 102.5 kB / 4.252 GB, free: 60.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/10.64, allocations: 66.55 kB / 4.252 GB, free: 60.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-05/10.64, allocations: 41.05 kB / 4.252 GB, free: 60.82 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001345/10.64, allocations: 0.8361 MB / 4.253 GB, free: 60.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.22e-07/10.64, allocations: 0 / 4.253 GB, free: 60.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009234/10.65, allocations: 1.878 MB / 4.255 GB, free: 60.62 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: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01161/10.66, allocations: 2.333 MB / 4.257 GB, free: 60.27 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006342/10.67, allocations: 2.32 MB / 4.259 GB, free: 60.22 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/10.67, allocations: 0 / 4.259 GB, free: 60.22 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/10.67, allocations: 0.9103 MB / 4.26 GB, free: 60.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/10.68, allocations: 490.6 kB / 4.261 GB, free: 60.17 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/10.68, allocations: 2.374 MB / 4.263 GB, free: 59.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/10.68, allocations: 1.392 MB / 4.264 GB, free: 58.87 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003917/10.69, allocations: 1.766 MB / 4.266 GB, free: 58.81 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/10.69, allocations: 85.7 kB / 4.266 GB, free: 58.8 MB / 0.573 GB Notification: Performance of SimCode: time 2.274e-06/10.69, allocations: 0 / 4.266 GB, free: 58.8 MB / 0.573 GB Notification: Performance of Templates: time 0.08541/10.77, allocations: 54.08 MB / 4.319 GB, free: 54.34 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestExamplesVariants/InverseParameterization_laminar/InverseParameterization_laminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches