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.001664/0.001664, allocations: 196.6 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007708/0.0007708, allocations: 103.6 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3306/0.3306, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002972, allocations: 11.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3295, allocations: 62.95 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.061/7.391, allocations: 2.777 GB / 3.296 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/7.391, allocations: 89.31 kB / 3.296 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8049/8.196, allocations: 236.4 MB / 3.527 GB, free: 91.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.325e-06/8.196, allocations: 0 / 3.527 GB, free: 91.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.436e-05/8.196, allocations: 11.12 kB / 3.527 GB, free: 91.36 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.005156/8.201, allocations: 1.338 MB / 3.528 GB, free: 90.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/8.201, allocations: 7.469 kB / 3.528 GB, free: 90.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/8.204, allocations: 247.3 kB / 3.528 GB, free: 90.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/8.204, allocations: 420.2 kB / 3.529 GB, free: 90.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/8.204, allocations: 27.28 kB / 3.529 GB, free: 90.49 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/8.205, allocations: 30.47 kB / 3.529 GB, free: 90.49 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/8.206, allocations: 0.6321 MB / 3.529 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/8.206, allocations: 3.938 kB / 3.529 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/8.206, allocations: 12.94 kB / 3.529 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/8.206, allocations: 12.47 kB / 3.53 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/8.208, allocations: 0.5999 MB / 3.53 GB, free: 90.36 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.00319/8.211, allocations: 2.621 MB / 3.533 GB, free: 88.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/8.213, allocations: 467.8 kB / 3.533 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/8.213, allocations: 186.9 kB / 3.533 GB, free: 88.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04617/8.259, allocations: 26.64 MB / 3.559 GB, free: 71.24 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/8.259, allocations: 41.8 kB / 3.559 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/8.259, allocations: 0.5625 kB / 3.559 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.003102/8.262, allocations: 0.8389 MB / 3.56 GB, free: 71.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/8.263, allocations: 108.8 kB / 3.56 GB, free: 71.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007041/8.263, allocations: 378.5 kB / 3.561 GB, free: 70.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/8.263, allocations: 30.52 kB / 3.561 GB, free: 70.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/8.263, allocations: 221.6 kB / 3.561 GB, free: 70.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/8.264, allocations: 86.27 kB / 3.561 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/8.264, allocations: 8.594 kB / 3.561 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/8.264, allocations: 349.3 kB / 3.561 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/8.264, allocations: 159.6 kB / 3.561 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/8.265, allocations: 261.5 kB / 3.562 GB, free: 70.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009066/8.266, allocations: 407.9 kB / 3.562 GB, free: 70.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/8.266, allocations: 1.812 kB / 3.562 GB, free: 70.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001324/8.267, allocations: 483.6 kB / 3.563 GB, free: 70.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.786e-05/8.267, allocations: 175.7 kB / 3.563 GB, free: 69.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/8.267, allocations: 2.125 kB / 3.563 GB, free: 69.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/8.267, allocations: 4.469 kB / 3.563 GB, free: 69.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/8.268, allocations: 110.2 kB / 3.563 GB, free: 69.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/8.268, allocations: 4.375 kB / 3.563 GB, free: 69.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/8.268, allocations: 86.19 kB / 3.563 GB, free: 69.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/8.268, allocations: 17.09 kB / 3.563 GB, free: 69.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/8.268, allocations: 4.094 kB / 3.563 GB, free: 69.96 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/8.269, allocations: 426.7 kB / 3.563 GB, free: 69.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/8.269, allocations: 2.281 kB / 3.563 GB, free: 69.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/8.269, allocations: 4.375 kB / 3.563 GB, free: 69.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/8.27, allocations: 108 kB / 3.563 GB, free: 69.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/8.27, allocations: 8.969 kB / 3.563 GB, free: 69.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/8.27, allocations: 70.52 kB / 3.564 GB, free: 69.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/8.27, allocations: 16.69 kB / 3.564 GB, free: 69.94 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.0002945/8.271, allocations: 239.1 kB / 3.564 GB, free: 69.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/8.271, allocations: 39.28 kB / 3.564 GB, free: 69.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/8.273, allocations: 1.985 MB / 3.566 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/8.273, allocations: 31.67 kB / 3.566 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/8.273, allocations: 0 / 3.566 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/8.273, allocations: 3.797 kB / 3.566 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/8.274, allocations: 1.039 MB / 3.567 GB, free: 69.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/8.274, allocations: 6.969 kB / 3.567 GB, free: 69.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/8.275, allocations: 89.11 kB / 3.567 GB, free: 69.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/8.275, allocations: 2.031 kB / 3.567 GB, free: 69.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/8.275, allocations: 9.562 kB / 3.567 GB, free: 69.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/8.275, allocations: 7.781 kB / 3.567 GB, free: 69.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/8.275, allocations: 3.172 kB / 3.567 GB, free: 69.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/8.276, allocations: 1.127 MB / 3.568 GB, free: 69.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/8.277, allocations: 265.5 kB / 3.568 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/8.277, allocations: 9.312 kB / 3.568 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/8.277, allocations: 48.31 kB / 3.568 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/8.277, allocations: 35.81 kB / 3.568 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/8.277, allocations: 19.16 kB / 3.568 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003833/8.277, allocations: 368.4 kB / 3.569 GB, free: 68.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.277, allocations: 0 / 3.569 GB, free: 68.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005287/8.283, allocations: 1.21 MB / 3.57 GB, free: 68.59 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.00747/8.29, allocations: 1.495 MB / 3.571 GB, free: 68.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001773/8.292, allocations: 0.8614 MB / 3.572 GB, free: 68.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/8.292, allocations: 6.875 kB / 3.572 GB, free: 68.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/8.293, allocations: 0.5303 MB / 3.573 GB, free: 68.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/8.294, allocations: 217.6 kB / 3.573 GB, free: 68.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/8.296, allocations: 1.964 MB / 3.575 GB, free: 67.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/8.296, allocations: 0.9773 MB / 3.576 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007272/8.297, allocations: 0.5454 MB / 3.576 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/8.297, allocations: 47.64 kB / 3.576 GB, free: 66.69 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/8.297, allocations: 0 / 3.576 GB, free: 66.69 MB / 0.5417 GB Notification: Performance of Templates: time 0.04414/8.341, allocations: 35.6 MB / 3.611 GB, free: 65.2 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/jenkins1/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