Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002147/0.002146, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 94.22 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.029e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3929, allocations: 58.85 MB / 477.1 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.942/8.335, allocations: 2.77 GB / 3.236 GB, free: 17.07 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/8.335, allocations: 86.58 kB / 3.236 GB, free: 17.03 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.552/9.887, allocations: 231.1 MB / 3.462 GB, free: 73.54 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.933e-06/9.887, allocations: 1.188 kB / 3.462 GB, free: 73.54 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 4.602e-05/9.887, allocations: 17.27 kB / 3.462 GB, free: 73.54 MB / 0.4952 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.006526/9.893, allocations: 1.268 MB / 3.463 GB, free: 72.98 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/9.894, allocations: 9 kB / 3.463 GB, free: 72.98 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/9.897, allocations: 244.1 kB / 3.463 GB, free: 72.96 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/9.898, allocations: 415.9 kB / 3.464 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/9.898, allocations: 14.91 kB / 3.464 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/9.898, allocations: 20 kB / 3.464 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009562/9.899, allocations: 337 kB / 3.464 GB, free: 72.74 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/9.9, allocations: 405.7 kB / 3.464 GB, free: 72.62 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/9.9, allocations: 0.5625 kB / 3.464 GB, free: 72.62 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/9.9, allocations: 7.516 kB / 3.465 GB, free: 72.62 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/9.9, allocations: 7.969 kB / 3.465 GB, free: 72.62 MB / 0.4952 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.0312/9.931, allocations: 10.15 MB / 3.474 GB, free: 66.34 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/9.932, allocations: 230.8 kB / 3.475 GB, free: 66.31 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/9.932, allocations: 136.9 kB / 3.475 GB, free: 66.3 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07865/10.01, allocations: 24.15 MB / 3.498 GB, free: 51.66 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/10.01, allocations: 40.84 kB / 3.498 GB, free: 51.62 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=24): time 3.186e-06/10.01, allocations: 2.625 kB / 3.498 GB, free: 51.62 MB / 0.4952 GB Notification: Performance of matching and sorting (n=24): time 0.00305/10.01, allocations: 0.5584 MB / 3.499 GB, free: 51.56 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/10.01, allocations: 106.6 kB / 3.499 GB, free: 51.44 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/10.01, allocations: 269.6 kB / 3.499 GB, free: 51.33 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/10.01, allocations: 25.7 kB / 3.499 GB, free: 51.3 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/10.02, allocations: 282.8 kB / 3.5 GB, free: 51.11 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/10.02, allocations: 78.95 kB / 3.5 GB, free: 51.07 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/10.02, allocations: 4.969 kB / 3.5 GB, free: 51.07 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/10.02, allocations: 326.1 kB / 3.5 GB, free: 50.76 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/10.02, allocations: 103.3 kB / 3.5 GB, free: 50.76 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/10.02, allocations: 192.3 kB / 3.5 GB, free: 50.65 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/10.02, allocations: 214.1 kB / 3.5 GB, free: 50.65 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/10.02, allocations: 0 / 3.5 GB, free: 50.65 MB / 0.4952 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0018/10.02, allocations: 439.2 kB / 3.501 GB, free: 50.6 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/10.02, allocations: 1.049 MB / 3.502 GB, free: 49.52 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/10.02, allocations: 3.781 kB / 3.502 GB, free: 49.52 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/10.02, allocations: 3.781 kB / 3.502 GB, free: 49.52 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/10.02, allocations: 110.3 kB / 3.502 GB, free: 49.52 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/10.02, allocations: 4.938 kB / 3.502 GB, free: 49.52 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/10.02, allocations: 65.75 kB / 3.502 GB, free: 49.51 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/10.02, allocations: 26.08 kB / 3.502 GB, free: 49.51 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/10.02, allocations: 6.844 kB / 3.502 GB, free: 49.51 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/10.02, allocations: 338.1 kB / 3.502 GB, free: 49.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/10.02, allocations: 4.516 kB / 3.502 GB, free: 49.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/10.02, allocations: 11.72 kB / 3.502 GB, free: 49.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/10.02, allocations: 109.7 kB / 3.503 GB, free: 49.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/10.02, allocations: 3.969 kB / 3.503 GB, free: 49.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/10.02, allocations: 59.05 kB / 3.503 GB, free: 49.49 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/10.02, allocations: 17.5 kB / 3.503 GB, free: 49.49 MB / 0.4952 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 0.0001568/10.02, allocations: 117.4 kB / 3.503 GB, free: 49.39 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/10.02, allocations: 30.81 kB / 3.503 GB, free: 49.37 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/10.03, allocations: 1.711 MB / 3.504 GB, free: 49.18 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/10.03, allocations: 24.66 kB / 3.504 GB, free: 49.18 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/10.03, allocations: 8.609 kB / 3.504 GB, free: 49.18 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/10.03, allocations: 6.75 kB / 3.504 GB, free: 49.18 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/10.03, allocations: 0.8797 MB / 3.505 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/10.03, allocations: 0 / 3.505 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/10.03, allocations: 90.89 kB / 3.505 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/10.03, allocations: 3.375 kB / 3.505 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/10.03, allocations: 9.969 kB / 3.505 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/10.03, allocations: 0 / 3.505 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/10.03, allocations: 3.953 kB / 3.505 GB, free: 48.97 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/10.03, allocations: 0.9695 MB / 3.506 GB, free: 48.76 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/10.03, allocations: 254.2 kB / 3.507 GB, free: 48.59 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/10.03, allocations: 3.062 kB / 3.507 GB, free: 48.59 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/10.03, allocations: 40.48 kB / 3.507 GB, free: 48.59 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/10.03, allocations: 33.56 kB / 3.507 GB, free: 48.59 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/10.03, allocations: 13.64 kB / 3.507 GB, free: 48.59 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004678/10.03, allocations: 320.8 kB / 3.507 GB, free: 48.5 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.2e-07/10.03, allocations: 0.6562 kB / 3.507 GB, free: 48.5 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.00625/10.04, allocations: 1.165 MB / 3.508 GB, free: 48.3 MB / 0.4952 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.01061/10.05, allocations: 1.525 MB / 3.51 GB, free: 48.03 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001504/10.05, allocations: 0.6431 MB / 3.51 GB, free: 48.02 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/10.05, allocations: 0 / 3.51 GB, free: 48.02 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0005883/10.05, allocations: 439.7 kB / 3.511 GB, free: 48.02 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/10.05, allocations: 180 kB / 3.511 GB, free: 48.02 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/10.06, allocations: 1.115 MB / 3.512 GB, free: 47.73 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/10.06, allocations: 0.9818 MB / 3.513 GB, free: 47.03 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/10.06, allocations: 45.92 kB / 3.513 GB, free: 47.02 MB / 0.4952 GB Notification: Performance of SimCode: time 9.72e-07/10.06, allocations: 2.375 kB / 3.513 GB, free: 47.02 MB / 0.4952 GB Notification: Performance of Templates: time 0.06083/10.12, allocations: 28.12 MB / 3.54 GB, free: 44.34 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches