Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.64/1.64, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0009764/0.0009764, allocations: 86.36 kB / 271.3 MB, free: 8.25 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.3854/0.3854, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004108, allocations: 12 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 58.84 MB / 491.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.532/5.667, allocations: 2.771 GB / 3.251 GB, free: 98.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/5.667, allocations: 89.5 kB / 3.251 GB, free: 98.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6588/6.326, allocations: 233.9 MB / 3.48 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.934e-06/6.326, allocations: 0 / 3.48 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.098e-05/6.326, allocations: 14.47 kB / 3.48 GB, free: 48.34 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004167/6.33, allocations: 1.326 MB / 3.481 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/6.33, allocations: 7 kB / 3.481 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/6.332, allocations: 253.2 kB / 3.481 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/6.332, allocations: 417.5 kB / 3.482 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/6.332, allocations: 29.19 kB / 3.482 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/6.332, allocations: 28.91 kB / 3.482 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/6.334, allocations: 0.6296 MB / 3.482 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/6.334, allocations: 7.656 kB / 3.482 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/6.334, allocations: 15.81 kB / 3.482 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/6.334, allocations: 7.812 kB / 3.482 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/6.335, allocations: 0.5953 MB / 3.483 GB, free: 46.68 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.002489/6.338, allocations: 2.62 MB / 3.486 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/6.339, allocations: 478.6 kB / 3.486 GB, free: 44.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/6.34, allocations: 187.1 kB / 3.486 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03537/6.375, allocations: 24.07 MB / 3.51 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/6.375, allocations: 39 kB / 3.51 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 2.746e-06/6.375, allocations: 4 kB / 3.51 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.002512/6.378, allocations: 0.8416 MB / 3.511 GB, free: 22.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/6.378, allocations: 106.8 kB / 3.511 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/6.378, allocations: 381.5 kB / 3.511 GB, free: 21.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/6.378, allocations: 29.7 kB / 3.511 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/6.378, allocations: 220.1 kB / 3.511 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/6.378, allocations: 86.03 kB / 3.511 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/6.378, allocations: 8 kB / 3.511 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/6.378, allocations: 346.8 kB / 3.512 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/6.379, allocations: 159.9 kB / 3.512 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/6.379, allocations: 264.5 kB / 3.512 GB, free: 20.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/6.38, allocations: 404.4 kB / 3.513 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/6.38, allocations: 0 / 3.513 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009084/6.381, allocations: 482.9 kB / 3.513 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/6.381, allocations: 175.6 kB / 3.513 GB, free: 19.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/6.381, allocations: 4 kB / 3.513 GB, free: 19.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/6.381, allocations: 8 kB / 3.513 GB, free: 19.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/6.381, allocations: 103.9 kB / 3.513 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/6.381, allocations: 7.938 kB / 3.513 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/6.382, allocations: 79.48 kB / 3.513 GB, free: 19.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/6.382, allocations: 23.98 kB / 3.513 GB, free: 19.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/6.382, allocations: 0 / 3.513 GB, free: 19.31 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007941/6.382, allocations: 423.9 kB / 3.514 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/6.382, allocations: 4.219 kB / 3.514 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/6.382, allocations: 8 kB / 3.514 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/6.383, allocations: 103.9 kB / 3.514 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/6.383, allocations: 11.88 kB / 3.514 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/6.383, allocations: 71.64 kB / 3.514 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/6.383, allocations: 16 kB / 3.514 GB, free: 18.69 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,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 initialization (38): * Single equations (assignments): 38 * 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.0002247/6.383, allocations: 237 kB / 3.514 GB, free: 18.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/6.383, allocations: 39.53 kB / 3.514 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/6.385, allocations: 1.983 MB / 3.516 GB, free: 16.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/6.385, allocations: 35.89 kB / 3.516 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/6.385, allocations: 0 / 3.516 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/6.385, allocations: 3.984 kB / 3.516 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/6.386, allocations: 1.04 MB / 3.517 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/6.386, allocations: 0 / 3.517 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/6.387, allocations: 91.88 kB / 3.517 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/6.387, allocations: 0 / 3.517 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/6.387, allocations: 11.98 kB / 3.517 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/6.387, allocations: 3.938 kB / 3.517 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/6.387, allocations: 4 kB / 3.517 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/6.388, allocations: 1.126 MB / 3.518 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/6.388, allocations: 259.4 kB / 3.519 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/6.388, allocations: 8 kB / 3.519 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/6.388, allocations: 55.83 kB / 3.519 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/6.389, allocations: 27.95 kB / 3.519 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/6.389, allocations: 12 kB / 3.519 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004063/6.389, allocations: 378.8 kB / 3.519 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/6.389, allocations: 0 / 3.519 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005127/6.394, allocations: 1.19 MB / 3.52 GB, free: 12.11 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.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 (38): * Single equations (assignments): 29 * 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.00648/6.401, allocations: 1.481 MB / 3.522 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001549/6.402, allocations: 0.8653 MB / 3.523 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/6.402, allocations: 0 / 3.523 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005022/6.403, allocations: 0.5332 MB / 3.523 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/6.404, allocations: 213.5 kB / 3.523 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/6.406, allocations: 1.959 MB / 3.525 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/6.406, allocations: 0.9797 MB / 3.526 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006437/6.407, allocations: 0.5436 MB / 3.527 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/6.407, allocations: 43.42 kB / 3.527 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/6.407, allocations: 0 / 3.527 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.2732/6.68, allocations: 35.46 MB / 3.561 GB, free: 77.59 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches