Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 196.5 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.5 MB / 245.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008167/0.0008166, allocations: 91.95 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.323/0.323, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.000265, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3472, allocations: 62.96 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.62/6.967, allocations: 2.761 GB / 3.279 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/6.967, allocations: 91.94 kB / 3.279 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7879/7.755, allocations: 219.6 MB / 3.494 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.326e-06/7.755, allocations: 3.984 kB / 3.494 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.94e-05/7.755, allocations: 11.98 kB / 3.494 GB, free: 16.52 MB / 0.5417 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.005457/7.761, allocations: 1.231 MB / 3.495 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/7.761, allocations: 12.03 kB / 3.495 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/7.763, allocations: 216.2 kB / 3.495 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/7.763, allocations: 383.1 kB / 3.495 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/7.763, allocations: 29.78 kB / 3.495 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/7.764, allocations: 28 kB / 3.495 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/7.765, allocations: 0.6143 MB / 3.496 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/7.765, allocations: 7.938 kB / 3.496 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/7.765, allocations: 12 kB / 3.496 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/7.765, allocations: 8 kB / 3.496 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/7.767, allocations: 0.5875 MB / 3.497 GB, free: 13.28 MB / 0.5417 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.002537/7.769, allocations: 2.599 MB / 3.499 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/7.771, allocations: 486.1 kB / 3.5 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/7.771, allocations: 197.6 kB / 3.5 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3493/8.12, allocations: 26.63 MB / 3.526 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/8.12, allocations: 33.41 kB / 3.526 GB, free: 83.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 3.026e-06/8.12, allocations: 0 / 3.526 GB, free: 83.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.00271/8.123, allocations: 0.8534 MB / 3.527 GB, free: 83.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/8.123, allocations: 117.2 kB / 3.527 GB, free: 83.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/8.124, allocations: 306.2 kB / 3.527 GB, free: 83.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/8.124, allocations: 29.45 kB / 3.527 GB, free: 83.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/8.124, allocations: 204.2 kB / 3.527 GB, free: 83.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/8.124, allocations: 88.5 kB / 3.527 GB, free: 83.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/8.124, allocations: 4.312 kB / 3.527 GB, free: 83.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/8.124, allocations: 347.2 kB / 3.528 GB, free: 83.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/8.124, allocations: 164.4 kB / 3.528 GB, free: 83.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/8.125, allocations: 251.2 kB / 3.528 GB, free: 82.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/8.125, allocations: 399.4 kB / 3.528 GB, free: 82.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/8.125, allocations: 3 kB / 3.528 GB, free: 82.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00089/8.126, allocations: 460.8 kB / 3.529 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/8.126, allocations: 6.219 kB / 3.529 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/8.126, allocations: 2.25 kB / 3.529 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/8.126, allocations: 7.312 kB / 3.529 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/8.127, allocations: 99.58 kB / 3.529 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/8.127, allocations: 3 kB / 3.529 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/8.127, allocations: 68.8 kB / 3.529 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/8.127, allocations: 15.81 kB / 3.529 GB, free: 82.84 MB / 0.5417 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.0001759/8.127, allocations: 169 kB / 3.529 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/8.127, allocations: 37.69 kB / 3.529 GB, free: 82.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/8.13, allocations: 1.936 MB / 3.531 GB, free: 82.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/8.13, allocations: 28.34 kB / 3.531 GB, free: 82.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/8.13, allocations: 0 / 3.531 GB, free: 82.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/8.13, allocations: 11.17 kB / 3.531 GB, free: 82.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/8.131, allocations: 1.002 MB / 3.532 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/8.131, allocations: 0 / 3.532 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/8.131, allocations: 95.62 kB / 3.532 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/8.131, allocations: 1.859 kB / 3.532 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/8.131, allocations: 5.812 kB / 3.532 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/8.131, allocations: 6.734 kB / 3.532 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/8.131, allocations: 3.891 kB / 3.532 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/8.132, allocations: 1.123 MB / 3.533 GB, free: 82.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/8.132, allocations: 220 kB / 3.534 GB, free: 81.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/8.132, allocations: 6.031 kB / 3.534 GB, free: 81.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/8.133, allocations: 56.48 kB / 3.534 GB, free: 81.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/8.133, allocations: 28.16 kB / 3.534 GB, free: 81.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/8.133, allocations: 15.41 kB / 3.534 GB, free: 81.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003211/8.133, allocations: 323.1 kB / 3.534 GB, free: 81.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/8.133, allocations: 0 / 3.534 GB, free: 81.83 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004845/8.138, allocations: 1.021 MB / 3.535 GB, free: 81.83 MB / 0.5417 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.00699/8.145, allocations: 1.381 MB / 3.536 GB, free: 81.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001226/8.146, allocations: 0.6289 MB / 3.537 GB, free: 81.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/8.146, allocations: 0 / 3.537 GB, free: 81.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/8.147, allocations: 0.5346 MB / 3.538 GB, free: 81.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/8.148, allocations: 202.4 kB / 3.538 GB, free: 81.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/8.15, allocations: 1.87 MB / 3.54 GB, free: 80.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/8.15, allocations: 0.9629 MB / 3.54 GB, free: 80.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004579/8.151, allocations: 242.1 kB / 3.541 GB, free: 80.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/8.151, allocations: 46.77 kB / 3.541 GB, free: 80.15 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/8.151, allocations: 0 / 3.541 GB, free: 80.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.05295/8.204, allocations: 33.68 MB / 3.574 GB, free: 79.38 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches