Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.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.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009462/0.0009461, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.465/1.465, 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.0008619/0.0008617, allocations: 91.97 kB / 261.7 MB, free: 1.68 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.1942/0.1942, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.443e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8578/0.9873, allocations: 334.8 MB / 0.7929 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.9876, allocations: 87.23 kB / 0.793 GB, free: 119.6 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 .... [/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 1.187/2.175, allocations: 330.2 MB / 1.115 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.545e-06/2.175, allocations: 1.125 kB / 1.115 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001252/2.175, allocations: 38.17 kB / 1.115 GB, free: 66.27 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.0052/2.18, allocations: 1.786 MB / 1.117 GB, free: 65.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/2.18, allocations: 9.062 kB / 1.117 GB, free: 65.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/2.181, allocations: 178.2 kB / 1.117 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/2.183, allocations: 1.075 MB / 1.118 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/2.183, allocations: 30.88 kB / 1.119 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/2.184, allocations: 55 kB / 1.119 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/2.186, allocations: 1.203 MB / 1.12 GB, free: 65.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/2.187, allocations: 1.302 MB / 1.121 GB, free: 64.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/2.187, allocations: 6.922 kB / 1.121 GB, free: 64.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/2.188, allocations: 5.938 kB / 1.121 GB, free: 64.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/2.188, allocations: 55.73 kB / 1.121 GB, free: 64.94 MB / 0.4948 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.007891/2.195, allocations: 6.409 MB / 1.127 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/2.196, allocations: 0.513 MB / 1.128 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/2.197, allocations: 318.8 kB / 1.128 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01872/2.216, allocations: 17.08 MB / 1.145 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/2.216, allocations: 463 kB / 1.145 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/2.216, allocations: 0 / 1.145 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.005665/2.222, allocations: 1.236 MB / 1.146 GB, free: 44.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/2.222, allocations: 0.5425 MB / 1.147 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/2.223, allocations: 0.899 MB / 1.148 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/2.223, allocations: 28.66 kB / 1.148 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/2.223, allocations: 0.7305 MB / 1.149 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/2.224, allocations: 162.3 kB / 1.149 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/2.224, allocations: 0 / 1.149 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/2.224, allocations: 356.5 kB / 1.149 GB, free: 43.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/2.224, allocations: 304.5 kB / 1.149 GB, free: 43.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/2.225, allocations: 0.8421 MB / 1.15 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007255/2.232, allocations: 1.455 MB / 1.152 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/2.232, allocations: 3.938 kB / 1.152 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00906/2.241, allocations: 2.163 MB / 1.154 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001047/2.242, allocations: 5.534 MB / 1.159 GB, free: 36.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/2.242, allocations: 14.78 kB / 1.159 GB, free: 36.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/2.242, allocations: 22.66 kB / 1.159 GB, free: 36.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/2.244, allocations: 389.6 kB / 1.16 GB, free: 36.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/2.246, allocations: 1.37 MB / 1.161 GB, free: 35.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/2.247, allocations: 145.3 kB / 1.161 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/2.247, allocations: 69.17 kB / 1.161 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/2.247, allocations: 3.875 kB / 1.161 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00634/2.254, allocations: 1.754 MB / 1.163 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/2.254, allocations: 14.75 kB / 1.163 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/2.254, allocations: 24.28 kB / 1.163 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/2.255, allocations: 286.8 kB / 1.163 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003232/2.255, allocations: 0.6358 MB / 1.164 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/2.256, allocations: 111.3 kB / 1.164 GB, free: 34.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/2.257, allocations: 66.88 kB / 1.164 GB, free: 34.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003837/2.257, allocations: 190.5 kB / 1.164 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/2.257, allocations: 121 kB / 1.164 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/2.262, allocations: 1.661 MB / 1.166 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/2.262, allocations: 14.25 kB / 1.166 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/2.262, allocations: 1.594 kB / 1.166 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/2.262, allocations: 3.703 kB / 1.166 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/2.267, allocations: 2.336 MB / 1.168 GB, free: 33.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/2.268, allocations: 0 / 1.168 GB, free: 33.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/2.269, allocations: 265.4 kB / 1.168 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/2.269, allocations: 6.344 kB / 1.168 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/2.269, allocations: 18.56 kB / 1.168 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/2.27, allocations: 1.313 MB / 1.17 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/2.27, allocations: 3.953 kB / 1.17 GB, free: 32.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/2.274, allocations: 1.305 MB / 1.171 GB, free: 32.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/2.275, allocations: 253 kB / 1.171 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/2.275, allocations: 3.781 kB / 1.171 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/2.276, allocations: 50.69 kB / 1.171 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/2.276, allocations: 48.2 kB / 1.171 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/2.276, allocations: 33.72 kB / 1.171 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001011/2.277, allocations: 0.6825 MB / 1.172 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.072e-06/2.277, allocations: 3.031 kB / 1.172 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004662/2.282, allocations: 1.388 MB / 1.173 GB, free: 31.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003736/2.285, allocations: 1.365 MB / 1.175 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004459/2.29, allocations: 1.723 MB / 1.176 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/2.29, allocations: 0 / 1.176 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002538/2.293, allocations: 0.648 MB / 1.177 GB, free: 31.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/2.295, allocations: 411.3 kB / 1.177 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/2.298, allocations: 1.5 MB / 1.179 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/2.298, allocations: 1.209 MB / 1.18 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001884/2.3, allocations: 0.5016 MB / 1.181 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/2.301, allocations: 115.2 kB / 1.181 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/2.301, allocations: 0 / 1.181 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.05476/2.355, allocations: 33.66 MB / 1.214 GB, free: 27.84 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches