Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.496/1.496, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007782/0.0007779, allocations: 93.02 kB / 271.3 MB, free: 8.246 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.3706/0.3706, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.347/6.461, allocations: 2.772 GB / 3.252 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/6.461, allocations: 86.77 kB / 3.253 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.759/8.221, allocations: 0.4996 GB / 3.752 GB, free: 42.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/8.221, allocations: 3.219 kB / 3.752 GB, free: 42.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.317e-05/8.221, allocations: 31.14 kB / 3.752 GB, free: 42.03 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006875/8.228, allocations: 2.15 MB / 3.754 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/8.228, allocations: 8.656 kB / 3.754 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005507/8.233, allocations: 0.7205 MB / 3.755 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/8.235, allocations: 0.8349 MB / 3.756 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/8.235, allocations: 86.94 kB / 3.756 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/8.235, allocations: 83.34 kB / 3.756 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/8.239, allocations: 1.759 MB / 3.758 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/8.239, allocations: 2.812 kB / 3.758 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/8.239, allocations: 44.38 kB / 3.758 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/8.239, allocations: 24.09 kB / 3.758 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/8.243, allocations: 1.652 MB / 3.759 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007071/8.25, allocations: 7.554 MB / 3.767 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/8.253, allocations: 1.309 MB / 3.768 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008739/8.254, allocations: 468.8 kB / 3.768 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03732/8.291, allocations: 24.17 MB / 3.792 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/8.291, allocations: 41.06 kB / 3.792 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 3.106e-06/8.291, allocations: 0 / 3.792 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.006607/8.298, allocations: 2.225 MB / 3.794 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/8.298, allocations: 219.6 kB / 3.794 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/8.299, allocations: 0.8288 MB / 3.795 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/8.3, allocations: 35.77 kB / 3.795 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/8.3, allocations: 489.8 kB / 3.796 GB, free: 35.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/8.3, allocations: 230.2 kB / 3.796 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/8.3, allocations: 20.84 kB / 3.796 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001519/8.3, allocations: 338.1 kB / 3.796 GB, free: 35.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/8.301, allocations: 391.2 kB / 3.797 GB, free: 35.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/8.303, allocations: 0.695 MB / 3.797 GB, free: 35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/8.305, allocations: 1.038 MB / 3.798 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/8.305, allocations: 6.344 kB / 3.798 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003037/8.308, allocations: 1.19 MB / 3.8 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002405/8.308, allocations: 331 kB / 3.8 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/8.308, allocations: 7.844 kB / 3.8 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/8.308, allocations: 13.09 kB / 3.8 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009961/8.309, allocations: 279.6 kB / 3.8 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.108e-05/8.309, allocations: 19.62 kB / 3.8 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/8.31, allocations: 191.2 kB / 3.8 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/8.311, allocations: 49.89 kB / 3.8 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/8.311, allocations: 4.594 kB / 3.8 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002252/8.313, allocations: 1.058 MB / 3.801 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/8.313, allocations: 11.53 kB / 3.801 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/8.313, allocations: 15.94 kB / 3.801 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/8.314, allocations: 271.6 kB / 3.802 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/8.314, allocations: 18.59 kB / 3.802 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/8.315, allocations: 171.1 kB / 3.802 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/8.315, allocations: 51.81 kB / 3.802 GB, free: 34.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006185/8.315, allocations: 342.7 kB / 3.802 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/8.316, allocations: 109.1 kB / 3.802 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00561/8.321, allocations: 5.121 MB / 3.807 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/8.321, allocations: 68.78 kB / 3.807 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/8.321, allocations: 0.6562 kB / 3.807 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/8.321, allocations: 4.266 kB / 3.807 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/8.324, allocations: 2.501 MB / 3.81 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/8.324, allocations: 0 / 3.81 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/8.325, allocations: 241.3 kB / 3.81 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/8.325, allocations: 4.5 kB / 3.81 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/8.325, allocations: 23.14 kB / 3.81 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/8.325, allocations: 4.25 kB / 3.81 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/8.325, allocations: 10.17 kB / 3.81 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/8.328, allocations: 2.38 MB / 3.813 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007974/8.329, allocations: 0.6967 MB / 3.813 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/8.329, allocations: 17.62 kB / 3.813 GB, free: 32.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/8.33, allocations: 113.6 kB / 3.813 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/8.33, allocations: 84.88 kB / 3.813 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/8.33, allocations: 31.64 kB / 3.813 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001286/8.331, allocations: 1.183 MB / 3.815 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.443e-06/8.331, allocations: 1.594 kB / 3.815 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005432/8.337, allocations: 1.629 MB / 3.816 GB, free: 31.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005746/8.342, allocations: 1.768 MB / 3.818 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003597/8.346, allocations: 2.039 MB / 3.82 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/8.346, allocations: 2.344 kB / 3.82 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/8.347, allocations: 1.167 MB / 3.821 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/8.35, allocations: 0.6054 MB / 3.822 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/8.355, allocations: 4.933 MB / 3.826 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/8.356, allocations: 1.519 MB / 3.828 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001938/8.358, allocations: 1.59 MB / 3.829 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/8.358, allocations: 109.2 kB / 3.83 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/8.358, allocations: 4 kB / 3.83 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.06628/8.424, allocations: 55.34 MB / 3.884 GB, free: 24.74 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveIncompressible/TestValveIncompressible.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches