Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.2 MB / 245 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008208/0.0008207, allocations: 97.86 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2989/0.2989, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3549, allocations: 63.24 MB / 0.5192 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.452/5.807, allocations: 2.777 GB / 3.296 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/5.807, allocations: 87.64 kB / 3.296 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7898/6.597, allocations: 237.2 MB / 3.528 GB, free: 79.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/6.597, allocations: 3.344 kB / 3.528 GB, free: 79.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.099e-05/6.597, allocations: 12.88 kB / 3.528 GB, free: 79.77 MB / 0.5417 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.005699/6.603, allocations: 1.328 MB / 3.529 GB, free: 78.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/6.603, allocations: 7.562 kB / 3.529 GB, free: 78.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/6.605, allocations: 249.5 kB / 3.53 GB, free: 78.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/6.606, allocations: 414.7 kB / 3.53 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/6.606, allocations: 28 kB / 3.53 GB, free: 78.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/6.606, allocations: 31.16 kB / 3.53 GB, free: 78.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/6.608, allocations: 0.6268 MB / 3.531 GB, free: 78.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/6.608, allocations: 352 / 3.531 GB, free: 78.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/6.608, allocations: 19.86 kB / 3.531 GB, free: 78.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/6.608, allocations: 7.656 kB / 3.531 GB, free: 78.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/6.61, allocations: 0.5946 MB / 3.531 GB, free: 78.13 MB / 0.5417 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.003015/6.613, allocations: 2.621 MB / 3.534 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/6.614, allocations: 463.3 kB / 3.534 GB, free: 75.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04042/6.654, allocations: 26.64 MB / 3.56 GB, free: 57.92 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/6.654, allocations: 38.5 kB / 3.56 GB, free: 57.87 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/6.654, allocations: 3.781 kB / 3.56 GB, free: 57.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.002883/6.657, allocations: 0.8317 MB / 3.561 GB, free: 57.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/6.657, allocations: 109.7 kB / 3.561 GB, free: 57.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/6.658, allocations: 336.3 kB / 3.562 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/6.658, allocations: 29.7 kB / 3.562 GB, free: 57.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/6.658, allocations: 218.3 kB / 3.562 GB, free: 57.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/6.658, allocations: 85.94 kB / 3.562 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/6.658, allocations: 7.906 kB / 3.562 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/6.658, allocations: 348.7 kB / 3.562 GB, free: 56.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/6.659, allocations: 161.2 kB / 3.562 GB, free: 56.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/6.659, allocations: 261.7 kB / 3.563 GB, free: 56.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/6.66, allocations: 187.3 kB / 3.563 GB, free: 56.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/6.66, allocations: 4 kB / 3.563 GB, free: 56.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001042/6.661, allocations: 482.1 kB / 3.563 GB, free: 56.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002379/6.661, allocations: 1.054 MB / 3.564 GB, free: 55.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/6.661, allocations: 0 / 3.564 GB, free: 55.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/6.661, allocations: 6.031 kB / 3.564 GB, free: 55.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/6.661, allocations: 112.1 kB / 3.564 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/6.661, allocations: 7.188 kB / 3.564 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/6.662, allocations: 76.36 kB / 3.565 GB, free: 55.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/6.662, allocations: 17.09 kB / 3.565 GB, free: 55.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/6.662, allocations: 14.39 kB / 3.565 GB, free: 55.09 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008667/6.663, allocations: 425 kB / 3.565 GB, free: 54.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/6.663, allocations: 3.781 kB / 3.565 GB, free: 54.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/6.663, allocations: 3.906 kB / 3.565 GB, free: 54.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/6.663, allocations: 116.8 kB / 3.565 GB, free: 54.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/6.663, allocations: 7.344 kB / 3.565 GB, free: 54.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/6.664, allocations: 68.38 kB / 3.565 GB, free: 54.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/6.664, allocations: 19.66 kB / 3.565 GB, free: 54.91 MB / 0.5417 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.0002038/6.664, allocations: 228.9 kB / 3.565 GB, free: 54.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/6.664, allocations: 46.55 kB / 3.565 GB, free: 54.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/6.666, allocations: 1.986 MB / 3.567 GB, free: 53.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/6.666, allocations: 30.28 kB / 3.567 GB, free: 53.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/6.666, allocations: 0 / 3.567 GB, free: 53.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/6.666, allocations: 3.656 kB / 3.567 GB, free: 53.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/6.667, allocations: 1.035 MB / 3.568 GB, free: 53.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/6.667, allocations: 1.688 kB / 3.568 GB, free: 53.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/6.667, allocations: 95.3 kB / 3.569 GB, free: 53.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/6.667, allocations: 0 / 3.569 GB, free: 53.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/6.667, allocations: 11.77 kB / 3.569 GB, free: 53.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/6.667, allocations: 3.969 kB / 3.569 GB, free: 53.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/6.667, allocations: 0 / 3.569 GB, free: 53.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/6.669, allocations: 1.125 MB / 3.57 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/6.669, allocations: 268.1 kB / 3.57 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/6.669, allocations: 4 kB / 3.57 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/6.669, allocations: 64.28 kB / 3.57 GB, free: 52.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/6.67, allocations: 33.5 kB / 3.57 GB, free: 52.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/6.67, allocations: 19.58 kB / 3.57 GB, free: 52.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003619/6.67, allocations: 370.3 kB / 3.57 GB, free: 52.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/6.67, allocations: 0 / 3.57 GB, free: 52.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004828/6.675, allocations: 1.197 MB / 3.572 GB, free: 51.9 MB / 0.5417 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.007491/6.682, allocations: 1.501 MB / 3.573 GB, free: 51.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001676/6.684, allocations: 0.8605 MB / 3.574 GB, free: 51.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/6.684, allocations: 3.938 kB / 3.574 GB, free: 51.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005937/6.685, allocations: 0.5287 MB / 3.574 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/6.686, allocations: 217.1 kB / 3.575 GB, free: 50.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/6.688, allocations: 1.95 MB / 3.576 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/6.688, allocations: 1.007 MB / 3.577 GB, free: 49.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007788/6.689, allocations: 0.5387 MB / 3.578 GB, free: 49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/6.689, allocations: 47.67 kB / 3.578 GB, free: 48.99 MB / 0.5417 GB Notification: Performance of SimCode: time 1.773e-06/6.689, allocations: 3.656 kB / 3.578 GB, free: 48.99 MB / 0.5417 GB Notification: Performance of Templates: time 0.04424/6.733, allocations: 33.27 MB / 3.611 GB, free: 28.75 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches