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.0009876/0.0009879, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000844/0.000844, allocations: 96.2 kB / 286.7 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1901/0.1901, allocations: 45.14 MB / 383.7 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.309e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.553/6.656, allocations: 2.76 GB / 3.264 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/6.656, allocations: 82.34 kB / 3.264 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7929/7.449, allocations: 216.3 MB / 3.475 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/7.449, allocations: 0 / 3.475 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.619e-05/7.449, allocations: 8 kB / 3.475 GB, free: 83.8 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.006603/7.456, allocations: 1.196 MB / 3.477 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/7.456, allocations: 8.031 kB / 3.477 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/7.458, allocations: 231.1 kB / 3.477 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/7.459, allocations: 362.1 kB / 3.477 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/7.459, allocations: 16 kB / 3.477 GB, free: 81.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/7.459, allocations: 16 kB / 3.477 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006385/7.46, allocations: 297.5 kB / 3.477 GB, free: 81.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/7.461, allocations: 385 kB / 3.478 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/7.461, allocations: 0 / 3.478 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/7.461, allocations: 7.938 kB / 3.478 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/7.461, allocations: 15.77 kB / 3.478 GB, free: 81.2 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01706/7.478, allocations: 10.85 MB / 3.488 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/7.478, allocations: 239.9 kB / 3.489 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/7.478, allocations: 124.8 kB / 3.489 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04108/7.519, allocations: 26.71 MB / 3.515 GB, free: 38.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/7.52, allocations: 30.56 kB / 3.515 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/7.52, allocations: 0 / 3.515 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.001893/7.521, allocations: 0.5102 MB / 3.515 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/7.522, allocations: 114.8 kB / 3.515 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/7.522, allocations: 226.3 kB / 3.516 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/7.522, allocations: 25.7 kB / 3.516 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/7.522, allocations: 211.8 kB / 3.516 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/7.522, allocations: 78.77 kB / 3.516 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/7.522, allocations: 0 / 3.516 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/7.522, allocations: 338.8 kB / 3.516 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/7.522, allocations: 95.78 kB / 3.516 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/7.523, allocations: 175.1 kB / 3.517 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/7.523, allocations: 165.1 kB / 3.517 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/7.523, allocations: 4 kB / 3.517 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008922/7.524, allocations: 355 kB / 3.517 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/7.524, allocations: 11.94 kB / 3.517 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/7.524, allocations: 7.953 kB / 3.517 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/7.524, allocations: 4 kB / 3.517 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/7.525, allocations: 95.88 kB / 3.517 GB, free: 36.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/7.525, allocations: 16.12 kB / 3.517 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/7.525, allocations: 55.72 kB / 3.517 GB, free: 36.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/7.525, allocations: 19.98 kB / 3.517 GB, free: 36.22 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 () * 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 9.595e-05/7.525, allocations: 112.9 kB / 3.517 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/7.525, allocations: 31.62 kB / 3.517 GB, free: 36.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/7.527, allocations: 1.628 MB / 3.519 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/7.527, allocations: 31.91 kB / 3.519 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/7.527, allocations: 0 / 3.519 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/7.527, allocations: 3.984 kB / 3.519 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000895/7.528, allocations: 0.8388 MB / 3.52 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/7.528, allocations: 0 / 3.52 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/7.528, allocations: 87.92 kB / 3.52 GB, free: 33.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/7.528, allocations: 0 / 3.52 GB, free: 33.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/7.528, allocations: 3.938 kB / 3.52 GB, free: 33.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/7.528, allocations: 7.938 kB / 3.52 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/7.528, allocations: 4 kB / 3.52 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/7.529, allocations: 0.9226 MB / 3.521 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/7.53, allocations: 211.7 kB / 3.521 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/7.53, allocations: 0 / 3.521 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/7.53, allocations: 51.8 kB / 3.521 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/7.53, allocations: 32.23 kB / 3.521 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/7.53, allocations: 15.98 kB / 3.521 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002671/7.53, allocations: 286.9 kB / 3.521 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/7.53, allocations: 0 / 3.521 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005144/7.535, allocations: 0.999 MB / 3.522 GB, free: 30.88 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.009022/7.545, allocations: 1.446 MB / 3.524 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009498/7.546, allocations: 466 kB / 3.524 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/7.546, allocations: 0.625 kB / 3.524 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004908/7.546, allocations: 421.1 kB / 3.525 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/7.547, allocations: 169.6 kB / 3.525 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/7.549, allocations: 1.019 MB / 3.526 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/7.549, allocations: 0.9713 MB / 3.527 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004507/7.55, allocations: 255.5 kB / 3.527 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/7.55, allocations: 35.44 kB / 3.527 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/7.55, allocations: 0 / 3.527 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of Templates: time 0.3308/7.881, allocations: 27.78 MB / 3.554 GB, free: 100.6 MB / 0.5261 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/jenkins/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