Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009629/0.0009629, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 226.5 MB / 244.1 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007365/0.0007365, allocations: 102.1 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3197/0.3197, allocations: 44.81 MB / 392.9 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002522, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3504, allocations: 62.95 MB / 0.5165 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.735/7.085, allocations: 2.778 GB / 3.295 GB, free: 159.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/7.086, allocations: 86.64 kB / 3.295 GB, free: 159.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8569/7.943, allocations: 238.9 MB / 3.528 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.108e-06/7.943, allocations: 0 / 3.528 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.486e-05/7.943, allocations: 12.19 kB / 3.528 GB, free: 91.64 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.007058/7.95, allocations: 1.347 MB / 3.529 GB, free: 91.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/7.95, allocations: 9.219 kB / 3.529 GB, free: 91.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/7.952, allocations: 262 kB / 3.53 GB, free: 90.98 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/7.953, allocations: 430.3 kB / 3.53 GB, free: 90.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/7.953, allocations: 26.81 kB / 3.53 GB, free: 90.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/7.953, allocations: 36.5 kB / 3.53 GB, free: 90.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/7.955, allocations: 0.6331 MB / 3.531 GB, free: 90.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/7.955, allocations: 10.28 kB / 3.531 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/7.955, allocations: 19.36 kB / 3.531 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/7.955, allocations: 8.656 kB / 3.531 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/7.957, allocations: 0.5863 MB / 3.531 GB, free: 90.61 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.003208/7.96, allocations: 2.717 MB / 3.534 GB, free: 88.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/7.962, allocations: 0.5467 MB / 3.535 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/7.962, allocations: 183.1 kB / 3.535 GB, free: 88.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04788/8.01, allocations: 26.63 MB / 3.561 GB, free: 71.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/8.01, allocations: 37.56 kB / 3.561 GB, free: 71.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 3.667e-06/8.01, allocations: 0 / 3.561 GB, free: 71.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=28): time 0.003301/8.013, allocations: 0.8198 MB / 3.562 GB, free: 71.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/8.014, allocations: 112.8 kB / 3.562 GB, free: 71.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/8.014, allocations: 389.5 kB / 3.562 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/8.014, allocations: 30.77 kB / 3.562 GB, free: 71.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/8.014, allocations: 228.5 kB / 3.562 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/8.015, allocations: 96.56 kB / 3.562 GB, free: 70.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/8.015, allocations: 8.094 kB / 3.562 GB, free: 70.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001235/8.015, allocations: 354.3 kB / 3.563 GB, free: 70.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/8.015, allocations: 150.5 kB / 3.563 GB, free: 70.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/8.016, allocations: 281.4 kB / 3.563 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/8.017, allocations: 425.8 kB / 3.564 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/8.017, allocations: 1.562 kB / 3.564 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00122/8.018, allocations: 488.7 kB / 3.564 GB, free: 70.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/8.018, allocations: 198.3 kB / 3.564 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/8.018, allocations: 3.531 kB / 3.564 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/8.018, allocations: 5.469 kB / 3.564 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/8.019, allocations: 119.8 kB / 3.564 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/8.019, allocations: 5.281 kB / 3.564 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/8.019, allocations: 80.66 kB / 3.564 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/8.019, allocations: 21.66 kB / 3.564 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/8.019, allocations: 3.875 kB / 3.564 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/8.02, allocations: 420.2 kB / 3.565 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/8.02, allocations: 3.094 kB / 3.565 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/8.02, allocations: 5.5 kB / 3.565 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/8.021, allocations: 113.3 kB / 3.565 GB, free: 70.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/8.021, allocations: 11.06 kB / 3.565 GB, free: 70 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/8.021, allocations: 66.89 kB / 3.565 GB, free: 70 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/8.021, allocations: 19.88 kB / 3.565 GB, free: 70 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.0003074/8.021, allocations: 242.1 kB / 3.565 GB, free: 69.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/8.022, allocations: 44.25 kB / 3.565 GB, free: 69.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/8.024, allocations: 1.945 MB / 3.567 GB, free: 69.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/8.024, allocations: 38.02 kB / 3.567 GB, free: 69.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/8.024, allocations: 0 / 3.567 GB, free: 69.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/8.024, allocations: 3.469 kB / 3.567 GB, free: 69.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/8.025, allocations: 1.051 MB / 3.568 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/8.025, allocations: 0 / 3.568 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/8.025, allocations: 91.02 kB / 3.568 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/8.025, allocations: 6.234 kB / 3.568 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/8.025, allocations: 7.906 kB / 3.568 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/8.025, allocations: 3.938 kB / 3.568 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/8.026, allocations: 3.844 kB / 3.568 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/8.027, allocations: 1.111 MB / 3.569 GB, free: 69.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/8.027, allocations: 268 kB / 3.57 GB, free: 68.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/8.027, allocations: 7.219 kB / 3.57 GB, free: 68.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/8.028, allocations: 49.88 kB / 3.57 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/8.028, allocations: 38.28 kB / 3.57 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/8.028, allocations: 18.47 kB / 3.57 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004239/8.028, allocations: 376.4 kB / 3.57 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/8.028, allocations: 2.625 kB / 3.57 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006692/8.035, allocations: 1.18 MB / 3.571 GB, free: 68.66 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.009921/8.045, allocations: 1.457 MB / 3.573 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002064/8.047, allocations: 0.8536 MB / 3.574 GB, free: 68.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/8.047, allocations: 0 / 3.574 GB, free: 68.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007125/8.048, allocations: 0.5167 MB / 3.574 GB, free: 68.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/8.049, allocations: 234.4 kB / 3.574 GB, free: 68.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/8.052, allocations: 2.03 MB / 3.576 GB, free: 67.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/8.053, allocations: 0.9818 MB / 3.577 GB, free: 66.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/8.053, allocations: 53.56 kB / 3.577 GB, free: 66.71 MB / 0.5417 GB Notification: Performance of SimCode: time 1.262e-06/8.053, allocations: 0 / 3.577 GB, free: 66.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.04219/8.095, allocations: 25.26 MB / 3.602 GB, free: 65.27 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches