Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002034/0.002033, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001041/0.001041, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.3146/0.3146, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.958e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.883/7.998, allocations: 2.754 GB / 3.227 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/7.998, allocations: 85.08 kB / 3.227 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.142/9.14, allocations: 216.7 MB / 3.438 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/9.14, allocations: 0 / 3.438 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.967e-05/9.14, allocations: 11.94 kB / 3.438 GB, free: 86.91 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.005399/9.146, allocations: 1.178 MB / 3.44 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/9.146, allocations: 19.95 kB / 3.44 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/9.148, allocations: 226.2 kB / 3.44 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007956/9.149, allocations: 365.4 kB / 3.44 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/9.149, allocations: 24.78 kB / 3.44 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/9.149, allocations: 28 kB / 3.44 GB, free: 85.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/9.151, allocations: 0.5846 MB / 3.441 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/9.151, allocations: 0 / 3.441 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.039e-05/9.151, allocations: 16 kB / 3.441 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/9.151, allocations: 8 kB / 3.441 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/9.153, allocations: 0.4928 MB / 3.441 GB, free: 83.88 MB / 0.5105 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.004127/9.157, allocations: 2.611 MB / 3.444 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/9.159, allocations: 437.4 kB / 3.444 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/9.159, allocations: 128.8 kB / 3.444 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07578/9.235, allocations: 24.16 MB / 3.468 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.932e-05/9.235, allocations: 38.55 kB / 3.468 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.777e-06/9.235, allocations: 0 / 3.468 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002871/9.238, allocations: 0.6261 MB / 3.469 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/9.238, allocations: 106.8 kB / 3.469 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/9.239, allocations: 274.6 kB / 3.469 GB, free: 52.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/9.239, allocations: 29.7 kB / 3.469 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/9.239, allocations: 254.4 kB / 3.469 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/9.239, allocations: 89.52 kB / 3.469 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/9.239, allocations: 8 kB / 3.469 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/9.239, allocations: 322.8 kB / 3.47 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/9.239, allocations: 91.98 kB / 3.47 GB, free: 51.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/9.24, allocations: 186.9 kB / 3.47 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/9.24, allocations: 107.9 kB / 3.47 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/9.24, allocations: 4 kB / 3.47 GB, free: 51.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007727/9.241, allocations: 313.3 kB / 3.47 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/9.241, allocations: 7.953 kB / 3.47 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/9.241, allocations: 4 kB / 3.47 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/9.241, allocations: 4.312 kB / 3.47 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/9.242, allocations: 103.9 kB / 3.47 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/9.242, allocations: 4 kB / 3.47 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/9.242, allocations: 67.7 kB / 3.471 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/9.242, allocations: 20 kB / 3.471 GB, free: 50.88 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 () * 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.0001385/9.242, allocations: 124.8 kB / 3.471 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/9.243, allocations: 35.62 kB / 3.471 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/9.245, allocations: 1.853 MB / 3.473 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.134e-05/9.245, allocations: 27.95 kB / 3.473 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/9.245, allocations: 0 / 3.473 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/9.245, allocations: 7.922 kB / 3.473 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/9.247, allocations: 0.9971 MB / 3.474 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/9.247, allocations: 3.938 kB / 3.474 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009268/9.248, allocations: 95.86 kB / 3.474 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/9.248, allocations: 4 kB / 3.474 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/9.248, allocations: 4 kB / 3.474 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/9.248, allocations: 7.953 kB / 3.474 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/9.248, allocations: 0 / 3.474 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/9.25, allocations: 0.9829 MB / 3.475 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/9.251, allocations: 223.5 kB / 3.475 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/9.251, allocations: 4 kB / 3.475 GB, free: 46.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/9.252, allocations: 55.91 kB / 3.475 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/9.252, allocations: 39.88 kB / 3.475 GB, free: 46.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/9.252, allocations: 8 kB / 3.475 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008271/9.253, allocations: 317.2 kB / 3.475 GB, free: 46.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.423e-06/9.253, allocations: 0 / 3.475 GB, free: 46.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007072/9.26, allocations: 1.015 MB / 3.476 GB, free: 45 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 () * 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.02234/9.283, allocations: 1.362 MB / 3.478 GB, free: 43.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002144/9.285, allocations: 0.4969 MB / 3.478 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/9.285, allocations: 0.625 kB / 3.478 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/9.286, allocations: 481.1 kB / 3.478 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/9.29, allocations: 204.5 kB / 3.479 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/9.293, allocations: 1.157 MB / 3.48 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/9.294, allocations: 0.9835 MB / 3.481 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/9.294, allocations: 43.42 kB / 3.481 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/9.294, allocations: 0 / 3.481 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.08527/9.379, allocations: 26.4 MB / 3.507 GB, free: 13.91 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches