Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 195.9 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.658/1.658, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009771/0.000977, allocations: 104.1 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4894/0.4894, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004146, allocations: 11.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5481, allocations: 62.96 MB / 0.5184 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.988/7.536, allocations: 2.778 GB / 3.297 GB, free: 160.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/7.537, allocations: 87.7 kB / 3.297 GB, free: 160.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.757/8.294, allocations: 238.9 MB / 3.53 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.994e-06/8.294, allocations: 3.938 kB / 3.53 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.711e-05/8.294, allocations: 14.5 kB / 3.53 GB, free: 92.05 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00486/8.299, allocations: 1.339 MB / 3.531 GB, free: 91.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/8.299, allocations: 8.531 kB / 3.531 GB, free: 91.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/8.301, allocations: 264.1 kB / 3.532 GB, free: 91.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/8.302, allocations: 433.1 kB / 3.532 GB, free: 91.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/8.302, allocations: 28.84 kB / 3.532 GB, free: 91.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/8.302, allocations: 33.84 kB / 3.532 GB, free: 91.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/8.304, allocations: 0.6342 MB / 3.533 GB, free: 91.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/8.304, allocations: 4.547 kB / 3.533 GB, free: 91.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/8.304, allocations: 17.44 kB / 3.533 GB, free: 91.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/8.304, allocations: 10.34 kB / 3.533 GB, free: 91.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/8.305, allocations: 0.5828 MB / 3.533 GB, free: 91.02 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.002875/8.308, allocations: 2.723 MB / 3.536 GB, free: 89.13 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/8.31, allocations: 0.5509 MB / 3.536 GB, free: 89.11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/8.31, allocations: 182.4 kB / 3.537 GB, free: 89.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04436/8.354, allocations: 26.63 MB / 3.563 GB, free: 71.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/8.355, allocations: 39.56 kB / 3.563 GB, free: 71.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 3.427e-06/8.355, allocations: 0 / 3.563 GB, free: 71.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=28): time 0.002864/8.357, allocations: 0.8195 MB / 3.563 GB, free: 71.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/8.358, allocations: 110.7 kB / 3.564 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/8.358, allocations: 391.1 kB / 3.564 GB, free: 71.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/8.358, allocations: 31.17 kB / 3.564 GB, free: 71.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/8.358, allocations: 231.7 kB / 3.564 GB, free: 71.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/8.358, allocations: 96.97 kB / 3.564 GB, free: 71.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/8.358, allocations: 15.66 kB / 3.564 GB, free: 71.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/8.359, allocations: 347.7 kB / 3.565 GB, free: 70.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/8.359, allocations: 156.4 kB / 3.565 GB, free: 70.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/8.359, allocations: 271.9 kB / 3.565 GB, free: 70.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/8.36, allocations: 423.9 kB / 3.565 GB, free: 70.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/8.36, allocations: 4.812 kB / 3.565 GB, free: 70.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001099/8.361, allocations: 494.8 kB / 3.566 GB, free: 70.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/8.361, allocations: 193.6 kB / 3.566 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/8.361, allocations: 3.5 kB / 3.566 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/8.361, allocations: 5.688 kB / 3.566 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/8.362, allocations: 112.4 kB / 3.566 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/8.362, allocations: 7.219 kB / 3.566 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/8.362, allocations: 75.55 kB / 3.566 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/8.362, allocations: 25.59 kB / 3.566 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/8.362, allocations: 3.75 kB / 3.566 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008446/8.363, allocations: 413.9 kB / 3.567 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/8.363, allocations: 4.344 kB / 3.567 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/8.363, allocations: 6.875 kB / 3.567 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/8.364, allocations: 105.2 kB / 3.567 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/8.364, allocations: 13.14 kB / 3.567 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/8.364, allocations: 66.84 kB / 3.567 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/8.364, allocations: 23.36 kB / 3.567 GB, free: 70.41 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.0002322/8.364, allocations: 241.8 kB / 3.567 GB, free: 70.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/8.364, allocations: 47.5 kB / 3.567 GB, free: 70.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/8.366, allocations: 1.949 MB / 3.569 GB, free: 70 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/8.367, allocations: 34.44 kB / 3.569 GB, free: 69.99 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/8.367, allocations: 0 / 3.569 GB, free: 69.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/8.367, allocations: 3.469 kB / 3.569 GB, free: 69.99 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/8.368, allocations: 1.053 MB / 3.57 GB, free: 69.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/8.368, allocations: 3.5 kB / 3.57 GB, free: 69.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/8.368, allocations: 88.67 kB / 3.57 GB, free: 69.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/8.368, allocations: 3.844 kB / 3.57 GB, free: 69.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/8.368, allocations: 6.344 kB / 3.57 GB, free: 69.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/8.368, allocations: 8.156 kB / 3.57 GB, free: 69.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/8.368, allocations: 5.844 kB / 3.57 GB, free: 69.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/8.369, allocations: 1.109 MB / 3.571 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/8.369, allocations: 269.4 kB / 3.572 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-05/8.37, allocations: 9.891 kB / 3.572 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/8.37, allocations: 50.28 kB / 3.572 GB, free: 69.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/8.37, allocations: 36.25 kB / 3.572 GB, free: 69.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/8.37, allocations: 11.47 kB / 3.572 GB, free: 69.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003882/8.37, allocations: 382.3 kB / 3.572 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.37, allocations: 2.406 kB / 3.572 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005194/8.376, allocations: 1.177 MB / 3.573 GB, free: 69.07 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.007782/8.383, allocations: 1.459 MB / 3.575 GB, free: 68.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001658/8.385, allocations: 0.8535 MB / 3.576 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/8.385, allocations: 3.969 kB / 3.576 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/8.386, allocations: 0.5199 MB / 3.576 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/8.387, allocations: 221.8 kB / 3.576 GB, free: 68.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/8.389, allocations: 2.002 MB / 3.578 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/8.39, allocations: 0.987 MB / 3.579 GB, free: 67.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007739/8.39, allocations: 0.5489 MB / 3.58 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/8.391, allocations: 50.81 kB / 3.58 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/8.391, allocations: 0 / 3.58 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of Templates: time 0.04365/8.434, allocations: 35.12 MB / 3.614 GB, free: 65.67 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches