Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.0009999, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008805/0.0008807, allocations: 100.5 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3756/0.3756, allocations: 44.15 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000559/0.0005591, allocations: 12 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4057, allocations: 61.88 MB / 0.5107 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.81/6.215, allocations: 2.76 GB / 3.27 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/6.216, allocations: 93.86 kB / 3.27 GB, free: 99.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6789/6.895, allocations: 219.6 MB / 3.485 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/6.895, allocations: 7.75 kB / 3.485 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.892e-05/6.895, allocations: 6.781 kB / 3.485 GB, free: 72.32 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004306/6.899, allocations: 1.222 MB / 3.486 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/6.899, allocations: 15.84 kB / 3.486 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/6.901, allocations: 224.5 kB / 3.486 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/6.901, allocations: 384.6 kB / 3.487 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/6.901, allocations: 29.31 kB / 3.487 GB, free: 71.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/6.901, allocations: 25.56 kB / 3.487 GB, free: 71.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/6.902, allocations: 0.6148 MB / 3.487 GB, free: 70.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/6.903, allocations: 6.969 kB / 3.487 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/6.903, allocations: 15.97 kB / 3.487 GB, free: 70.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/6.903, allocations: 7.938 kB / 3.487 GB, free: 70.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/6.904, allocations: 0.5798 MB / 3.488 GB, free: 70.78 MB / 0.5261 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.002231/6.906, allocations: 2.602 MB / 3.491 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/6.908, allocations: 477.6 kB / 3.491 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/6.908, allocations: 202.7 kB / 3.491 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03614/6.944, allocations: 24.08 MB / 3.515 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/6.944, allocations: 34.56 kB / 3.515 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.895e-06/6.944, allocations: 0 / 3.515 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002582/6.947, allocations: 0.8592 MB / 3.516 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/6.947, allocations: 110.8 kB / 3.516 GB, free: 52.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/6.947, allocations: 306.2 kB / 3.516 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/6.947, allocations: 29.7 kB / 3.516 GB, free: 51.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/6.947, allocations: 211 kB / 3.516 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/6.947, allocations: 81.33 kB / 3.516 GB, free: 51.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/6.947, allocations: 8 kB / 3.516 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/6.947, allocations: 338.2 kB / 3.517 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/6.948, allocations: 162.4 kB / 3.517 GB, free: 51.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/6.948, allocations: 249.4 kB / 3.517 GB, free: 50.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/6.949, allocations: 390.6 kB / 3.517 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/6.949, allocations: 4 kB / 3.517 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008675/6.95, allocations: 471.4 kB / 3.518 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/6.95, allocations: 4 kB / 3.518 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/6.95, allocations: 4 kB / 3.518 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/6.95, allocations: 4 kB / 3.518 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/6.95, allocations: 98.81 kB / 3.518 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/6.95, allocations: 11.59 kB / 3.518 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/6.95, allocations: 62.66 kB / 3.518 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/6.951, allocations: 20 kB / 3.518 GB, free: 49.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.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 (35): * Single equations (assignments): 35 * 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.0001544/6.951, allocations: 161.3 kB / 3.518 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/6.951, allocations: 31.62 kB / 3.518 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/6.953, allocations: 1.933 MB / 3.52 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/6.953, allocations: 38.95 kB / 3.52 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/6.953, allocations: 3.938 kB / 3.52 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/6.953, allocations: 0 / 3.52 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/6.953, allocations: 1.006 MB / 3.521 GB, free: 47.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/6.953, allocations: 0 / 3.521 GB, free: 47.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/6.954, allocations: 97.41 kB / 3.521 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/6.954, allocations: 7.984 kB / 3.521 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/6.954, allocations: 4 kB / 3.521 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/6.954, allocations: 4 kB / 3.521 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/6.954, allocations: 3.938 kB / 3.521 GB, free: 47.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/6.955, allocations: 1.107 MB / 3.522 GB, free: 46.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/6.955, allocations: 226.4 kB / 3.522 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/6.955, allocations: 4 kB / 3.522 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/6.955, allocations: 51.48 kB / 3.523 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/6.956, allocations: 43.44 kB / 3.523 GB, free: 45.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/6.956, allocations: 12 kB / 3.523 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002649/6.956, allocations: 328.7 kB / 3.523 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/6.956, allocations: 0 / 3.523 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00417/6.96, allocations: 1.016 MB / 3.524 GB, free: 44.44 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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.005518/6.966, allocations: 1.366 MB / 3.525 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001244/6.967, allocations: 0.6266 MB / 3.526 GB, free: 42.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/6.967, allocations: 3.703 kB / 3.526 GB, free: 42.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005653/6.967, allocations: 0.5273 MB / 3.526 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/6.968, allocations: 203.8 kB / 3.527 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/6.97, allocations: 1.866 MB / 3.528 GB, free: 40.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/6.971, allocations: 0.9671 MB / 3.529 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003654/6.971, allocations: 249.3 kB / 3.53 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/6.971, allocations: 43.38 kB / 3.53 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of SimCode: time 3.3e-07/6.971, allocations: 0 / 3.53 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.03637/7.007, allocations: 33.61 MB / 3.562 GB, free: 6.562 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches