Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001626, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008703/0.0008702, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1953/0.1953, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.713/6.834, allocations: 2.754 GB / 3.233 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/6.834, allocations: 88.5 kB / 3.233 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8047/7.639, allocations: 217.4 MB / 3.445 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.016e-06/7.639, allocations: 0 / 3.445 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.811e-05/7.639, allocations: 11.94 kB / 3.445 GB, free: 83.63 MB / 0.5105 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.005711/7.645, allocations: 1.218 MB / 3.446 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/7.645, allocations: 8.031 kB / 3.446 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/7.647, allocations: 233.7 kB / 3.447 GB, free: 82.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/7.648, allocations: 368.1 kB / 3.447 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/7.648, allocations: 24.66 kB / 3.447 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/7.648, allocations: 28 kB / 3.447 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/7.649, allocations: 0.6138 MB / 3.448 GB, free: 81.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/7.649, allocations: 0 / 3.448 GB, free: 81.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/7.649, allocations: 12 kB / 3.448 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/7.649, allocations: 8 kB / 3.448 GB, free: 81.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/7.651, allocations: 0.5948 MB / 3.448 GB, free: 80.89 MB / 0.5105 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.00281/7.654, allocations: 2.613 MB / 3.451 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/7.655, allocations: 482 kB / 3.451 GB, free: 77.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04063/7.696, allocations: 24.08 MB / 3.475 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/7.696, allocations: 34.62 kB / 3.475 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.276e-06/7.696, allocations: 0 / 3.475 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002863/7.699, allocations: 0.8563 MB / 3.476 GB, free: 50.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/7.699, allocations: 110.8 kB / 3.476 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/7.699, allocations: 267.7 kB / 3.476 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/7.699, allocations: 29.7 kB / 3.476 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/7.699, allocations: 208.2 kB / 3.476 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/7.699, allocations: 85.5 kB / 3.476 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/7.699, allocations: 4 kB / 3.476 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/7.7, allocations: 346.8 kB / 3.477 GB, free: 49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/7.7, allocations: 155.9 kB / 3.477 GB, free: 48.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/7.7, allocations: 255 kB / 3.477 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/7.701, allocations: 171.8 kB / 3.477 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/7.701, allocations: 0 / 3.477 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000953/7.702, allocations: 469.6 kB / 3.478 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/7.702, allocations: 7.953 kB / 3.478 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/7.702, allocations: 4 kB / 3.478 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/7.702, allocations: 8.312 kB / 3.478 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/7.702, allocations: 91.88 kB / 3.478 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/7.702, allocations: 8 kB / 3.478 GB, free: 47.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/7.703, allocations: 71.55 kB / 3.478 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/7.703, allocations: 23.92 kB / 3.478 GB, free: 47.71 MB / 0.5105 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.0002063/7.703, allocations: 157.8 kB / 3.478 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/7.703, allocations: 31.62 kB / 3.478 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/7.705, allocations: 1.952 MB / 3.48 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/7.705, allocations: 31.95 kB / 3.48 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/7.705, allocations: 0 / 3.48 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/7.705, allocations: 3.938 kB / 3.48 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/7.706, allocations: 1.001 MB / 3.481 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/7.706, allocations: 0 / 3.481 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/7.707, allocations: 91.88 kB / 3.481 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/7.707, allocations: 4 kB / 3.481 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/7.707, allocations: 11.98 kB / 3.481 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/7.707, allocations: 11.95 kB / 3.481 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/7.707, allocations: 0 / 3.481 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/7.708, allocations: 1.108 MB / 3.482 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/7.708, allocations: 219.6 kB / 3.482 GB, free: 43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/7.708, allocations: 4 kB / 3.482 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/7.709, allocations: 55.8 kB / 3.482 GB, free: 42.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/7.709, allocations: 35.91 kB / 3.482 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/7.709, allocations: 15.98 kB / 3.482 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003038/7.709, allocations: 323.1 kB / 3.483 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/7.709, allocations: 3.938 kB / 3.483 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005232/7.714, allocations: 1.011 MB / 3.484 GB, free: 41.56 MB / 0.5105 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.00839/7.723, allocations: 1.372 MB / 3.485 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001345/7.724, allocations: 0.6301 MB / 3.486 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/7.724, allocations: 0 / 3.486 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/7.725, allocations: 0.5256 MB / 3.486 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/7.726, allocations: 189.8 kB / 3.486 GB, free: 38.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/7.728, allocations: 1.865 MB / 3.488 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/7.729, allocations: 0.9797 MB / 3.489 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004707/7.729, allocations: 250.8 kB / 3.489 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/7.729, allocations: 43.44 kB / 3.489 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/7.729, allocations: 0 / 3.489 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.0449/7.774, allocations: 31.35 MB / 3.52 GB, free: 4.445 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches