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.001072/0.001072, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009591/0.000959, allocations: 98.05 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3384/0.3384, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.336, allocations: 63.24 MB / 0.5192 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.338/6.674, allocations: 2.778 GB / 3.297 GB, free: 169.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/6.674, allocations: 90.33 kB / 3.297 GB, free: 169.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8505/7.525, allocations: 240.3 MB / 3.532 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.705e-06/7.525, allocations: 3.906 kB / 3.532 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.737e-05/7.525, allocations: 12.62 kB / 3.532 GB, free: 97.85 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.006227/7.531, allocations: 1.346 MB / 3.533 GB, free: 97.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/7.531, allocations: 9.156 kB / 3.533 GB, free: 97.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/7.533, allocations: 262.1 kB / 3.533 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/7.534, allocations: 422.8 kB / 3.534 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/7.535, allocations: 27.62 kB / 3.534 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/7.535, allocations: 39.62 kB / 3.534 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/7.537, allocations: 0.6348 MB / 3.535 GB, free: 96.76 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/7.537, allocations: 1.75 kB / 3.535 GB, free: 96.76 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/7.537, allocations: 18.36 kB / 3.535 GB, free: 96.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/7.537, allocations: 7.969 kB / 3.535 GB, free: 96.75 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/7.538, allocations: 0.5827 MB / 3.535 GB, free: 96.75 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.00362/7.542, allocations: 2.722 MB / 3.538 GB, free: 94.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/7.544, allocations: 0.5477 MB / 3.538 GB, free: 94.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04527/7.589, allocations: 26.64 MB / 3.564 GB, free: 77.53 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/7.59, allocations: 33.88 kB / 3.564 GB, free: 77.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/7.59, allocations: 0 / 3.564 GB, free: 77.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=28): time 0.003026/7.593, allocations: 0.8137 MB / 3.565 GB, free: 77.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/7.593, allocations: 106.5 kB / 3.565 GB, free: 77.31 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/7.593, allocations: 343.8 kB / 3.566 GB, free: 77.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/7.593, allocations: 29.33 kB / 3.566 GB, free: 77.17 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/7.593, allocations: 225.9 kB / 3.566 GB, free: 77.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/7.594, allocations: 106.4 kB / 3.566 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/7.594, allocations: 9.5 kB / 3.566 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001014/7.594, allocations: 349.9 kB / 3.566 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/7.594, allocations: 158.6 kB / 3.566 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/7.594, allocations: 281.1 kB / 3.567 GB, free: 76.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/7.595, allocations: 173.7 kB / 3.567 GB, free: 76.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/7.595, allocations: 2.438 kB / 3.567 GB, free: 76.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001092/7.596, allocations: 490.3 kB / 3.567 GB, free: 76.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004223/7.596, allocations: 1.401 MB / 3.569 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/7.596, allocations: 3.625 kB / 3.569 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/7.597, allocations: 6.781 kB / 3.569 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/7.597, allocations: 106.3 kB / 3.569 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/7.597, allocations: 7.625 kB / 3.569 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/7.597, allocations: 76.86 kB / 3.569 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/7.598, allocations: 19.34 kB / 3.569 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/7.598, allocations: 3.875 kB / 3.569 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008705/7.598, allocations: 427.8 kB / 3.569 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/7.598, allocations: 5.219 kB / 3.569 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/7.598, allocations: 4.688 kB / 3.569 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/7.599, allocations: 111.9 kB / 3.569 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/7.599, allocations: 15.77 kB / 3.569 GB, free: 74.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/7.599, allocations: 71.66 kB / 3.569 GB, free: 74.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/7.599, allocations: 23.16 kB / 3.57 GB, free: 74.66 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.0002646/7.6, allocations: 246.4 kB / 3.57 GB, free: 74.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/7.6, allocations: 42.88 kB / 3.57 GB, free: 74.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/7.602, allocations: 1.958 MB / 3.572 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/7.602, allocations: 26.55 kB / 3.572 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/7.602, allocations: 3.953 kB / 3.572 GB, free: 73.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/7.602, allocations: 3.797 kB / 3.572 GB, free: 73.51 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/7.603, allocations: 1.048 MB / 3.573 GB, free: 72.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/7.603, allocations: 0 / 3.573 GB, free: 72.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/7.604, allocations: 94.14 kB / 3.573 GB, free: 72.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/7.604, allocations: 0 / 3.573 GB, free: 72.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/7.604, allocations: 7.594 kB / 3.573 GB, free: 72.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/7.604, allocations: 3.625 kB / 3.573 GB, free: 72.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/7.604, allocations: 0 / 3.573 GB, free: 72.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/7.605, allocations: 1.112 MB / 3.574 GB, free: 72.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/7.605, allocations: 267.6 kB / 3.574 GB, free: 72.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/7.605, allocations: 11.31 kB / 3.574 GB, free: 72.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/7.606, allocations: 38.16 kB / 3.574 GB, free: 72.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/7.606, allocations: 37.39 kB / 3.574 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/7.606, allocations: 19.3 kB / 3.574 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004157/7.606, allocations: 381.9 kB / 3.575 GB, free: 71.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/7.606, allocations: 0 / 3.575 GB, free: 71.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005877/7.612, allocations: 1.181 MB / 3.576 GB, free: 71.7 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.009029/7.621, allocations: 1.447 MB / 3.577 GB, free: 71.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001712/7.623, allocations: 0.842 MB / 3.578 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/7.623, allocations: 3.656 kB / 3.578 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/7.624, allocations: 0.5149 MB / 3.579 GB, free: 70.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/7.625, allocations: 233.4 kB / 3.579 GB, free: 70.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/7.628, allocations: 2.004 MB / 3.581 GB, free: 69.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/7.628, allocations: 1.005 MB / 3.582 GB, free: 68.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009155/7.629, allocations: 0.5437 MB / 3.582 GB, free: 68.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/7.629, allocations: 47.89 kB / 3.582 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/7.629, allocations: 0 / 3.582 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.0494/7.679, allocations: 32.85 MB / 3.614 GB, free: 67.09 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/jenkins/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