Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 172.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009403, allocations: 98.09 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.079e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1537, allocations: 61.91 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.139/7.293, allocations: 2.775 GB / 3.27 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004552/7.293, allocations: 88.78 kB / 3.27 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8457/8.139, allocations: 233.5 MB / 3.498 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/8.139, allocations: 3.938 kB / 3.498 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.227e-05/8.139, allocations: 10.22 kB / 3.498 GB, free: 94.2 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.005968/8.145, allocations: 1.269 MB / 3.5 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/8.145, allocations: 14.42 kB / 3.5 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/8.147, allocations: 247.5 kB / 3.5 GB, free: 93.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/8.148, allocations: 422.4 kB / 3.5 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/8.148, allocations: 19.44 kB / 3.5 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/8.149, allocations: 18.66 kB / 3.5 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006562/8.149, allocations: 332.2 kB / 3.501 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/8.15, allocations: 404.1 kB / 3.501 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/8.15, allocations: 3.938 kB / 3.501 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/8.15, allocations: 2.875 kB / 3.501 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/8.15, allocations: 7.719 kB / 3.501 GB, free: 92.68 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.01777/8.168, allocations: 10.15 MB / 3.511 GB, free: 85.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/8.168, allocations: 245.9 kB / 3.511 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/8.169, allocations: 131 kB / 3.511 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04195/8.21, allocations: 24.16 MB / 3.535 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/8.211, allocations: 38.41 kB / 3.535 GB, free: 70.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 3.146e-06/8.211, allocations: 0 / 3.535 GB, free: 70.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.002254/8.213, allocations: 0.563 MB / 3.535 GB, free: 70.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/8.213, allocations: 110.5 kB / 3.535 GB, free: 70 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/8.213, allocations: 268.8 kB / 3.536 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/8.213, allocations: 29.7 kB / 3.536 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/8.213, allocations: 229.8 kB / 3.536 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/8.214, allocations: 80.64 kB / 3.536 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/8.214, allocations: 0 / 3.536 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/8.214, allocations: 349.9 kB / 3.536 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/8.214, allocations: 95.78 kB / 3.536 GB, free: 69.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/8.214, allocations: 203.9 kB / 3.537 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/8.215, allocations: 219.7 kB / 3.537 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/8.215, allocations: 0 / 3.537 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001104/8.216, allocations: 439.5 kB / 3.537 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002546/8.216, allocations: 1.067 MB / 3.538 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/8.216, allocations: 3.812 kB / 3.538 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/8.216, allocations: 3.219 kB / 3.538 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/8.217, allocations: 106.4 kB / 3.538 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/8.217, allocations: 11.3 kB / 3.538 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/8.217, allocations: 61.02 kB / 3.539 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/8.217, allocations: 25.44 kB / 3.539 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/8.217, allocations: 4.906 kB / 3.539 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008741/8.218, allocations: 338.6 kB / 3.539 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/8.218, allocations: 3.5 kB / 3.539 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/8.218, allocations: 7.312 kB / 3.539 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/8.219, allocations: 106.6 kB / 3.539 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/8.219, allocations: 6.906 kB / 3.539 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/8.219, allocations: 61.62 kB / 3.539 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/8.219, allocations: 17.66 kB / 3.539 GB, free: 67.48 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 9.577e-05/8.219, allocations: 108.2 kB / 3.539 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/8.219, allocations: 43.47 kB / 3.539 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/8.221, allocations: 1.71 MB / 3.541 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/8.221, allocations: 26.78 kB / 3.541 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/8.221, allocations: 0 / 3.541 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/8.221, allocations: 7.594 kB / 3.541 GB, free: 66.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/8.222, allocations: 0.876 MB / 3.542 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/8.222, allocations: 3.938 kB / 3.542 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/8.222, allocations: 91.36 kB / 3.542 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/8.222, allocations: 0 / 3.542 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/8.222, allocations: 7 kB / 3.542 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/8.222, allocations: 0 / 3.542 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/8.222, allocations: 0 / 3.542 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/8.223, allocations: 0.9737 MB / 3.543 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/8.223, allocations: 257.2 kB / 3.543 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/8.224, allocations: 0 / 3.543 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/8.224, allocations: 38.25 kB / 3.543 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/8.224, allocations: 46.56 kB / 3.543 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/8.224, allocations: 15.56 kB / 3.543 GB, free: 64.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002574/8.224, allocations: 309.7 kB / 3.543 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.224, allocations: 0 / 3.543 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004919/8.229, allocations: 1.172 MB / 3.545 GB, free: 62.73 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.007494/8.237, allocations: 1.542 MB / 3.546 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001052/8.238, allocations: 0.6449 MB / 3.547 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/8.238, allocations: 4 kB / 3.547 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/8.238, allocations: 433.6 kB / 3.547 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/8.239, allocations: 181.5 kB / 3.547 GB, free: 60.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/8.241, allocations: 1.085 MB / 3.548 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/8.241, allocations: 0.9798 MB / 3.549 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007553/8.242, allocations: 0.5611 MB / 3.55 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/8.242, allocations: 47.23 kB / 3.55 GB, free: 58 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/8.242, allocations: 0 / 3.55 GB, free: 58 MB / 0.5261 GB Notification: Performance of Templates: time 0.03751/8.28, allocations: 29.9 MB / 3.579 GB, free: 33.81 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches