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.0009395/0.0009395, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008958/0.0008958, allocations: 90.62 kB / 261.8 MB, free: 1.613 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.2112/0.2112, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.89e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.28/6.408, allocations: 2.771 GB / 3.237 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/6.408, allocations: 85.97 kB / 3.237 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7254/7.134, allocations: 234.1 MB / 3.466 GB, free: 90.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/7.134, allocations: 3.938 kB / 3.466 GB, free: 90.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.987e-05/7.134, allocations: 7.812 kB / 3.466 GB, free: 90.19 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.004206/7.138, allocations: 1.285 MB / 3.467 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/7.138, allocations: 7.125 kB / 3.467 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/7.14, allocations: 254.5 kB / 3.467 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/7.141, allocations: 413.9 kB / 3.467 GB, free: 89.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/7.141, allocations: 16.53 kB / 3.467 GB, free: 89.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/7.141, allocations: 17.59 kB / 3.467 GB, free: 89.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004887/7.141, allocations: 348.8 kB / 3.468 GB, free: 89.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/7.142, allocations: 415.7 kB / 3.468 GB, free: 89.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/7.142, allocations: 11.05 kB / 3.468 GB, free: 89.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/7.142, allocations: 0 / 3.468 GB, free: 89.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/7.142, allocations: 11.09 kB / 3.468 GB, free: 89.12 MB / 0.4948 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.01598/7.158, allocations: 10.24 MB / 3.478 GB, free: 82.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/7.159, allocations: 301 kB / 3.479 GB, free: 82.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/7.159, allocations: 138.4 kB / 3.479 GB, free: 82.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04001/7.199, allocations: 24.15 MB / 3.502 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/7.199, allocations: 34.91 kB / 3.502 GB, free: 68.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/7.199, allocations: 2.531 kB / 3.502 GB, free: 68.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002025/7.201, allocations: 0.584 MB / 3.503 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/7.201, allocations: 104.5 kB / 3.503 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/7.201, allocations: 282.2 kB / 3.503 GB, free: 67.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/7.201, allocations: 25.7 kB / 3.503 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/7.202, allocations: 239.5 kB / 3.503 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/7.202, allocations: 85.33 kB / 3.504 GB, free: 67.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/7.202, allocations: 3.75 kB / 3.504 GB, free: 67.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/7.202, allocations: 351.4 kB / 3.504 GB, free: 67.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/7.202, allocations: 99.16 kB / 3.504 GB, free: 67.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/7.202, allocations: 223.5 kB / 3.504 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008173/7.203, allocations: 222.5 kB / 3.504 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/7.203, allocations: 3.969 kB / 3.504 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001154/7.204, allocations: 465 kB / 3.505 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002882/7.204, allocations: 1.399 MB / 3.506 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/7.204, allocations: 6.719 kB / 3.506 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/7.204, allocations: 7.219 kB / 3.506 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/7.205, allocations: 108.3 kB / 3.506 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/7.205, allocations: 14.44 kB / 3.506 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/7.205, allocations: 63.95 kB / 3.506 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/7.205, allocations: 20.23 kB / 3.506 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/7.205, allocations: 3.062 kB / 3.506 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000892/7.206, allocations: 354.5 kB / 3.507 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/7.206, allocations: 3.094 kB / 3.507 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/7.206, allocations: 11.16 kB / 3.507 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/7.207, allocations: 101.1 kB / 3.507 GB, free: 65.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/7.207, allocations: 14.3 kB / 3.507 GB, free: 65.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/7.207, allocations: 63.47 kB / 3.507 GB, free: 65.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/7.207, allocations: 21.53 kB / 3.507 GB, free: 65.45 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 () * 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 9.927e-05/7.207, allocations: 112.4 kB / 3.507 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/7.207, allocations: 36.97 kB / 3.507 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/7.209, allocations: 1.711 MB / 3.509 GB, free: 65.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/7.209, allocations: 25.81 kB / 3.509 GB, free: 65.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/7.209, allocations: 3.891 kB / 3.509 GB, free: 65.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/7.209, allocations: 11.02 kB / 3.509 GB, free: 65.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/7.21, allocations: 0.8757 MB / 3.51 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/7.21, allocations: 0 / 3.51 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/7.21, allocations: 90.44 kB / 3.51 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/7.21, allocations: 3.375 kB / 3.51 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/7.21, allocations: 7.641 kB / 3.51 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/7.21, allocations: 3.312 kB / 3.51 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.21, allocations: 0 / 3.51 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/7.211, allocations: 0.9855 MB / 3.511 GB, free: 64.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/7.212, allocations: 261.9 kB / 3.511 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/7.212, allocations: 0 / 3.511 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/7.212, allocations: 34.44 kB / 3.511 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/7.212, allocations: 34.95 kB / 3.511 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/7.212, allocations: 10 kB / 3.511 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002499/7.212, allocations: 316.6 kB / 3.511 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.212, allocations: 0 / 3.511 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004337/7.217, allocations: 1.147 MB / 3.512 GB, free: 64.19 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 30 * 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.007537/7.224, allocations: 1.494 MB / 3.514 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001102/7.225, allocations: 0.6696 MB / 3.515 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/7.225, allocations: 0 / 3.515 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/7.226, allocations: 434.8 kB / 3.515 GB, free: 63.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/7.227, allocations: 182.3 kB / 3.515 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/7.229, allocations: 1.1 MB / 3.516 GB, free: 63.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/7.229, allocations: 0.9952 MB / 3.517 GB, free: 62.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007231/7.23, allocations: 0.5669 MB / 3.518 GB, free: 62.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/7.23, allocations: 41.66 kB / 3.518 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/7.23, allocations: 0 / 3.518 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.0348/7.265, allocations: 29.48 MB / 3.547 GB, free: 56.74 MB / 0.4948 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/jenkins/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