Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001474/0.001474, allocations: 188.9 kB / 16.41 MB, free: 5.723 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.879/1.879, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001175/0.001175, allocations: 93.97 kB / 270.9 MB, free: 8.371 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.5107/0.5107, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004845, allocations: 15.98 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1273, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.53/8.657, allocations: 2.772 GB / 3.25 GB, free: 37.17 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/8.658, allocations: 89.89 kB / 3.25 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.209/9.866, allocations: 237.7 MB / 3.483 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/9.867, allocations: 0 / 3.483 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.084e-05/9.867, allocations: 15.94 kB / 3.483 GB, free: 2.66 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.006021/9.873, allocations: 1.336 MB / 3.484 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/9.873, allocations: 8.031 kB / 3.484 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/9.875, allocations: 251.2 kB / 3.484 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008571/9.876, allocations: 420.2 kB / 3.485 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/9.876, allocations: 28.66 kB / 3.485 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/9.876, allocations: 32 kB / 3.485 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3681/10.24, allocations: 0.63 MB / 3.485 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/10.24, allocations: 4.438 kB / 3.485 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/10.24, allocations: 16.94 kB / 3.485 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/10.24, allocations: 9.188 kB / 3.485 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/10.25, allocations: 0.5833 MB / 3.486 GB, free: 58.47 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.004891/10.25, allocations: 2.721 MB / 3.488 GB, free: 56.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/10.26, allocations: 0.5491 MB / 3.489 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07642/10.33, allocations: 24.07 MB / 3.513 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/10.33, allocations: 37.38 kB / 3.513 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/10.33, allocations: 0 / 3.513 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.004121/10.34, allocations: 0.8239 MB / 3.513 GB, free: 41.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/10.34, allocations: 113.4 kB / 3.513 GB, free: 41.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/10.34, allocations: 338.8 kB / 3.514 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/10.34, allocations: 32.95 kB / 3.514 GB, free: 41.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/10.34, allocations: 269.6 kB / 3.514 GB, free: 41.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/10.34, allocations: 96.08 kB / 3.514 GB, free: 41.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/10.34, allocations: 10 kB / 3.514 GB, free: 41.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/10.34, allocations: 327.2 kB / 3.515 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/10.34, allocations: 152.2 kB / 3.515 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/10.34, allocations: 283.6 kB / 3.515 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/10.34, allocations: 170.5 kB / 3.515 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/10.34, allocations: 3.281 kB / 3.515 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001642/10.34, allocations: 467.6 kB / 3.516 GB, free: 40.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003095/10.34, allocations: 1.4 MB / 3.517 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/10.34, allocations: 3.812 kB / 3.517 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/10.34, allocations: 7.344 kB / 3.517 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/10.34, allocations: 106.7 kB / 3.517 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/10.34, allocations: 7.438 kB / 3.517 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/10.34, allocations: 80.3 kB / 3.517 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/10.34, allocations: 20.33 kB / 3.517 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/10.34, allocations: 3.656 kB / 3.517 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/10.34, allocations: 424.6 kB / 3.518 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/10.35, allocations: 3.406 kB / 3.518 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/10.35, allocations: 7.125 kB / 3.518 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/10.35, allocations: 106.9 kB / 3.518 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/10.35, allocations: 9.75 kB / 3.518 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/10.35, allocations: 59.59 kB / 3.518 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/10.35, allocations: 21.84 kB / 3.518 GB, free: 39.38 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.0003616/10.35, allocations: 247 kB / 3.518 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/10.35, allocations: 47.73 kB / 3.518 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/10.35, allocations: 1.969 MB / 3.52 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.584e-05/10.35, allocations: 24.5 kB / 3.52 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/10.35, allocations: 0 / 3.52 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/10.35, allocations: 3.75 kB / 3.52 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/10.35, allocations: 1.049 MB / 3.521 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/10.35, allocations: 3.062 kB / 3.521 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/10.35, allocations: 88.31 kB / 3.521 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/10.35, allocations: 0 / 3.521 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/10.35, allocations: 13.84 kB / 3.521 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/10.35, allocations: 3.969 kB / 3.521 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/10.35, allocations: 6.703 kB / 3.521 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/10.35, allocations: 1.115 MB / 3.522 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/10.36, allocations: 265.4 kB / 3.522 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/10.36, allocations: 6.938 kB / 3.522 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/10.36, allocations: 43.42 kB / 3.522 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/10.36, allocations: 33.88 kB / 3.523 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/10.36, allocations: 16.38 kB / 3.523 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006462/10.36, allocations: 382.9 kB / 3.523 GB, free: 38.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.292e-06/10.36, allocations: 0 / 3.523 GB, free: 38.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005952/10.36, allocations: 1.167 MB / 3.524 GB, free: 38.23 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.01061/10.37, allocations: 1.427 MB / 3.525 GB, free: 38.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002798/10.38, allocations: 0.8589 MB / 3.526 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/10.38, allocations: 0 / 3.526 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/10.38, allocations: 0.5148 MB / 3.527 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/10.38, allocations: 224.5 kB / 3.527 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/10.38, allocations: 2.041 MB / 3.529 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/10.38, allocations: 1.011 MB / 3.53 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/10.38, allocations: 49.44 kB / 3.53 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.422e-06/10.38, allocations: 0 / 3.53 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.06202/10.45, allocations: 27.94 MB / 3.557 GB, free: 34.24 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches