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.0009304/0.0009303, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.172/1.172, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008259/0.0008259, allocations: 86.62 kB / 267 MB, free: 9.281 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.3047/0.3047, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.247e-05, allocations: 4 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.09904, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.895/4.994, allocations: 2.772 GB / 3.244 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/4.995, allocations: 81.28 kB / 3.244 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6498/5.644, allocations: 236.9 MB / 3.476 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.373e-06/5.644, allocations: 0 / 3.476 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.602e-05/5.645, allocations: 15.72 kB / 3.476 GB, free: 61.33 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00367/5.648, allocations: 1.285 MB / 3.477 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/5.648, allocations: 7.781 kB / 3.477 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/5.65, allocations: 252.3 kB / 3.477 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/5.65, allocations: 411.6 kB / 3.478 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/5.651, allocations: 32.19 kB / 3.478 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/5.651, allocations: 28.31 kB / 3.478 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/5.652, allocations: 0.6323 MB / 3.478 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/5.652, allocations: 352 / 3.478 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/5.652, allocations: 19.8 kB / 3.478 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/5.652, allocations: 5.938 kB / 3.478 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/5.653, allocations: 0.5293 MB / 3.479 GB, free: 59.67 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.002233/5.655, allocations: 2.738 MB / 3.482 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/5.656, allocations: 0.4982 MB / 3.482 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/5.656, allocations: 145.8 kB / 3.482 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03565/5.692, allocations: 24.15 MB / 3.506 GB, free: 41.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/5.692, allocations: 38.53 kB / 3.506 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/5.692, allocations: 0 / 3.506 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.001849/5.694, allocations: 0.6609 MB / 3.507 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/5.694, allocations: 106.8 kB / 3.507 GB, free: 41.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/5.694, allocations: 339 kB / 3.507 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/5.694, allocations: 33.7 kB / 3.507 GB, free: 41.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/5.695, allocations: 225.4 kB / 3.507 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/5.695, allocations: 93.88 kB / 3.507 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/5.695, allocations: 11.66 kB / 3.507 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/5.695, allocations: 353.5 kB / 3.508 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/5.695, allocations: 100.9 kB / 3.508 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/5.695, allocations: 245.1 kB / 3.508 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/5.695, allocations: 146.4 kB / 3.508 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/5.695, allocations: 3.875 kB / 3.508 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000519/5.696, allocations: 396 kB / 3.509 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001925/5.696, allocations: 1.402 MB / 3.51 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/5.696, allocations: 3.969 kB / 3.51 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/5.696, allocations: 3.969 kB / 3.51 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/5.696, allocations: 108.1 kB / 3.51 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/5.696, allocations: 11.69 kB / 3.51 GB, free: 38.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/5.697, allocations: 77.81 kB / 3.51 GB, free: 38.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/5.697, allocations: 15.88 kB / 3.51 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/5.697, allocations: 3.938 kB / 3.51 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000429/5.697, allocations: 336.9 kB / 3.51 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/5.697, allocations: 3.812 kB / 3.51 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/5.697, allocations: 3.969 kB / 3.51 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/5.698, allocations: 109.5 kB / 3.511 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/5.698, allocations: 11.72 kB / 3.511 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/5.698, allocations: 74.3 kB / 3.511 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/5.698, allocations: 19.52 kB / 3.511 GB, free: 38.42 MB / 0.5105 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 8.247e-05/5.698, allocations: 132.7 kB / 3.511 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/5.698, allocations: 39 kB / 3.511 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/5.7, allocations: 1.907 MB / 3.513 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/5.7, allocations: 30.88 kB / 3.513 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/5.7, allocations: 11.89 kB / 3.513 GB, free: 37.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/5.7, allocations: 3.969 kB / 3.513 GB, free: 37.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/5.7, allocations: 1.046 MB / 3.514 GB, free: 36.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/5.7, allocations: 0 / 3.514 GB, free: 36.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/5.701, allocations: 89.52 kB / 3.514 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/5.701, allocations: 7.844 kB / 3.514 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/5.701, allocations: 4 kB / 3.514 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/5.701, allocations: 3.969 kB / 3.514 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/5.701, allocations: 3.938 kB / 3.514 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/5.702, allocations: 1.041 MB / 3.515 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/5.702, allocations: 267 kB / 3.515 GB, free: 35.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/5.702, allocations: 11.03 kB / 3.515 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/5.702, allocations: 41.89 kB / 3.515 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/5.702, allocations: 33.91 kB / 3.515 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/5.702, allocations: 17.7 kB / 3.515 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003025/5.703, allocations: 364.8 kB / 3.516 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/5.703, allocations: 4 kB / 3.516 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003822/5.706, allocations: 1.175 MB / 3.517 GB, free: 35.52 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete 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.005745/5.712, allocations: 1.431 MB / 3.518 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000842/5.713, allocations: 0.7392 MB / 3.519 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/5.713, allocations: 5.562 kB / 3.519 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/5.713, allocations: 489.4 kB / 3.519 GB, free: 34.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/5.714, allocations: 222.1 kB / 3.519 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/5.716, allocations: 1.21 MB / 3.521 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/5.716, allocations: 1.012 MB / 3.522 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00072/5.717, allocations: 0.5593 MB / 3.522 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/5.717, allocations: 41.14 kB / 3.522 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/5.717, allocations: 0 / 3.522 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.03833/5.755, allocations: 34.64 MB / 3.556 GB, free: 10.8 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/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