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.001214/0.001214, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009508/0.000951, allocations: 95.59 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.901e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/5.49, allocations: 2.776 GB / 3.281 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/5.49, allocations: 86.77 kB / 3.281 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7713/6.261, allocations: 233.6 MB / 3.509 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.955e-06/6.261, allocations: 0 / 3.509 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.786e-05/6.261, allocations: 13.25 kB / 3.509 GB, free: 80.29 MB / 0.5261 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.004751/6.266, allocations: 1.279 MB / 3.51 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/6.266, allocations: 7.844 kB / 3.51 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/6.268, allocations: 242 kB / 3.511 GB, free: 79.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/6.269, allocations: 419.8 kB / 3.511 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/6.269, allocations: 15.31 kB / 3.511 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/6.269, allocations: 15.56 kB / 3.511 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004574/6.269, allocations: 338.3 kB / 3.511 GB, free: 79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/6.27, allocations: 400.3 kB / 3.512 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/6.27, allocations: 11.86 kB / 3.512 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/6.27, allocations: 0 / 3.512 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/6.27, allocations: 7.719 kB / 3.512 GB, free: 78.77 MB / 0.5261 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.01668/6.286, allocations: 10.87 MB / 3.522 GB, free: 71.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/6.287, allocations: 235.7 kB / 3.523 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/6.287, allocations: 130.3 kB / 3.523 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04298/6.33, allocations: 26.73 MB / 3.549 GB, free: 53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/6.33, allocations: 41.66 kB / 3.549 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/6.33, allocations: 0 / 3.549 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.002099/6.332, allocations: 0.5605 MB / 3.549 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/6.332, allocations: 106.4 kB / 3.549 GB, free: 52.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/6.333, allocations: 269.9 kB / 3.55 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/6.333, allocations: 25.7 kB / 3.55 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/6.333, allocations: 238.2 kB / 3.55 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/6.333, allocations: 80.75 kB / 3.55 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/6.333, allocations: 0 / 3.55 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/6.333, allocations: 345.1 kB / 3.55 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/6.333, allocations: 100.2 kB / 3.55 GB, free: 51.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/6.333, allocations: 205 kB / 3.551 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/6.334, allocations: 206.4 kB / 3.551 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/6.334, allocations: 3.656 kB / 3.551 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001075/6.335, allocations: 447.8 kB / 3.551 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/6.335, allocations: 1.048 MB / 3.552 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/6.335, allocations: 3.406 kB / 3.552 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/6.335, allocations: 6.125 kB / 3.552 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/6.336, allocations: 108.9 kB / 3.552 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/6.336, allocations: 11.59 kB / 3.552 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/6.336, allocations: 63.45 kB / 3.553 GB, free: 50.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/6.336, allocations: 22.42 kB / 3.553 GB, free: 50.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.523e-06/6.336, allocations: 5.469 kB / 3.553 GB, free: 50.28 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008612/6.337, allocations: 343.7 kB / 3.553 GB, free: 50.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/6.337, allocations: 3 kB / 3.553 GB, free: 50.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/6.337, allocations: 3.344 kB / 3.553 GB, free: 50.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/6.338, allocations: 111.2 kB / 3.553 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/6.338, allocations: 7.875 kB / 3.553 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/6.338, allocations: 60.86 kB / 3.553 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/6.338, allocations: 14.06 kB / 3.553 GB, free: 50.13 MB / 0.5261 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 () * 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 8.535e-05/6.338, allocations: 112.8 kB / 3.553 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/6.338, allocations: 49.09 kB / 3.553 GB, free: 49.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/6.34, allocations: 1.704 MB / 3.555 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/6.34, allocations: 27.06 kB / 3.555 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/6.34, allocations: 0 / 3.555 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/6.34, allocations: 11.64 kB / 3.555 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/6.341, allocations: 0.8755 MB / 3.556 GB, free: 48.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/6.341, allocations: 0 / 3.556 GB, free: 48.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/6.341, allocations: 87.69 kB / 3.556 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/6.341, allocations: 3.969 kB / 3.556 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/6.341, allocations: 4 kB / 3.556 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/6.341, allocations: 3.906 kB / 3.556 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.341, allocations: 3.953 kB / 3.556 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/6.342, allocations: 0.9704 MB / 3.557 GB, free: 48.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/6.342, allocations: 260 kB / 3.557 GB, free: 47.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/6.342, allocations: 0 / 3.557 GB, free: 47.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/6.343, allocations: 33.64 kB / 3.557 GB, free: 47.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/6.343, allocations: 44.48 kB / 3.557 GB, free: 47.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/6.343, allocations: 7.844 kB / 3.557 GB, free: 47.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002662/6.343, allocations: 317.5 kB / 3.557 GB, free: 47.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/6.343, allocations: 0 / 3.557 GB, free: 47.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004952/6.348, allocations: 1.183 MB / 3.559 GB, free: 47.56 MB / 0.5261 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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 (36): * Single equations (assignments): 28 * 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.007232/6.355, allocations: 1.565 MB / 3.56 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001519/6.357, allocations: 0.6519 MB / 3.561 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/6.357, allocations: 3.5 kB / 3.561 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/6.358, allocations: 436.7 kB / 3.561 GB, free: 46.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/6.359, allocations: 171.1 kB / 3.561 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/6.361, allocations: 1.079 MB / 3.562 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/6.361, allocations: 0.9876 MB / 3.563 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000812/6.362, allocations: 0.5623 MB / 3.564 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/6.362, allocations: 43.55 kB / 3.564 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/6.362, allocations: 4 kB / 3.564 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.03577/6.398, allocations: 29.99 MB / 3.593 GB, free: 21.18 MB / 0.5261 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