Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 171 kB / 16.76 MB, free: 4.934 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.499/1.499, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007974/0.0007978, allocations: 86.34 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3354/0.3354, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 19.98 kB / 432.6 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 58.85 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.407/6.534, allocations: 2.772 GB / 3.252 GB, free: 97.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/6.534, allocations: 88.7 kB / 3.252 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.778/7.312, allocations: 236.3 MB / 3.483 GB, free: 47.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.964e-06/7.312, allocations: 0 / 3.483 GB, free: 47.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.627e-05/7.312, allocations: 11.53 kB / 3.483 GB, free: 47.03 MB / 0.4948 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.00558/7.318, allocations: 1.33 MB / 3.484 GB, free: 46.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/7.318, allocations: 7.812 kB / 3.484 GB, free: 46.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/7.32, allocations: 252.9 kB / 3.484 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008128/7.321, allocations: 434.3 kB / 3.485 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/7.321, allocations: 29.47 kB / 3.485 GB, free: 45.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/7.321, allocations: 31.47 kB / 3.485 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/7.322, allocations: 0.6432 MB / 3.486 GB, free: 45.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/7.323, allocations: 0 / 3.486 GB, free: 45.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/7.323, allocations: 11.81 kB / 3.486 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/7.323, allocations: 11.62 kB / 3.486 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/7.324, allocations: 0.5848 MB / 3.486 GB, free: 45.32 MB / 0.4948 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.002892/7.327, allocations: 2.726 MB / 3.489 GB, free: 43.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/7.329, allocations: 0.5488 MB / 3.489 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/7.329, allocations: 183.8 kB / 3.49 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03853/7.367, allocations: 24.07 MB / 3.513 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/7.368, allocations: 40.38 kB / 3.513 GB, free: 19.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.925e-06/7.368, allocations: 0 / 3.513 GB, free: 19.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.002676/7.37, allocations: 0.8152 MB / 3.514 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/7.37, allocations: 114.8 kB / 3.514 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/7.371, allocations: 389.8 kB / 3.514 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/7.371, allocations: 33.64 kB / 3.514 GB, free: 18.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/7.371, allocations: 228.1 kB / 3.515 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/7.371, allocations: 98.34 kB / 3.515 GB, free: 18.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/7.371, allocations: 4 kB / 3.515 GB, free: 18.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/7.371, allocations: 350.8 kB / 3.515 GB, free: 17.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/7.372, allocations: 155.9 kB / 3.515 GB, free: 17.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/7.372, allocations: 287.2 kB / 3.515 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/7.373, allocations: 426 kB / 3.516 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/7.373, allocations: 0 / 3.516 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00104/7.374, allocations: 492.9 kB / 3.516 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/7.374, allocations: 198.1 kB / 3.517 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/7.374, allocations: 4 kB / 3.517 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/7.374, allocations: 7.984 kB / 3.517 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/7.374, allocations: 107.8 kB / 3.517 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/7.374, allocations: 8 kB / 3.517 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/7.375, allocations: 71.55 kB / 3.517 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/7.375, allocations: 16 kB / 3.517 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/7.375, allocations: 10.5 kB / 3.517 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008047/7.376, allocations: 428 kB / 3.517 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/7.376, allocations: 8.094 kB / 3.517 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/7.376, allocations: 4 kB / 3.517 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/7.376, allocations: 103.8 kB / 3.517 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/7.376, allocations: 15.92 kB / 3.517 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/7.376, allocations: 75.5 kB / 3.517 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/7.376, allocations: 23.98 kB / 3.517 GB, free: 15.19 MB / 0.4948 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.0002377/7.377, allocations: 241 kB / 3.518 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/7.377, allocations: 43.53 kB / 3.518 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/7.379, allocations: 1.955 MB / 3.52 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/7.379, allocations: 27.95 kB / 3.52 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/7.379, allocations: 0 / 3.52 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/7.379, allocations: 4 kB / 3.52 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/7.38, allocations: 1.047 MB / 3.521 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/7.38, allocations: 0 / 3.521 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/7.38, allocations: 91.86 kB / 3.521 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/7.381, allocations: 4 kB / 3.521 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/7.381, allocations: 15.92 kB / 3.521 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/7.381, allocations: 4 kB / 3.521 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/7.381, allocations: 0 / 3.521 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/7.382, allocations: 1.113 MB / 3.522 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/7.382, allocations: 263.3 kB / 3.522 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/7.382, allocations: 15.94 kB / 3.522 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/7.383, allocations: 35.97 kB / 3.522 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/7.383, allocations: 39.88 kB / 3.522 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/7.383, allocations: 16 kB / 3.522 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003945/7.383, allocations: 374.8 kB / 3.523 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.01e-07/7.383, allocations: 4 kB / 3.523 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005427/7.389, allocations: 1.178 MB / 3.524 GB, free: 8.648 MB / 0.4948 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.008542/7.397, allocations: 1.427 MB / 3.525 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001696/7.399, allocations: 0.8544 MB / 3.526 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/7.399, allocations: 0 / 3.526 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000637/7.4, allocations: 0.5216 MB / 3.526 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/7.401, allocations: 216 kB / 3.527 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/7.404, allocations: 2.01 MB / 3.529 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/7.405, allocations: 0.9876 MB / 3.53 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009201/7.406, allocations: 0.5424 MB / 3.53 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/7.406, allocations: 47.42 kB / 3.53 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/7.406, allocations: 0 / 3.53 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of Templates: time 0.3056/7.711, allocations: 35.03 MB / 3.564 GB, free: 77.43 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches