Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001195/0.001195, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.689/1.689, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 86.16 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.47e-05/1.473e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.425/5.543, allocations: 2.77 GB / 3.236 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/5.544, allocations: 86.09 kB / 3.236 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8064/6.35, allocations: 231.1 MB / 3.462 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/6.35, allocations: 0 / 3.462 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.866e-05/6.35, allocations: 10.17 kB / 3.462 GB, free: 88.84 MB / 0.4948 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.005713/6.356, allocations: 1.268 MB / 3.463 GB, free: 88.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/6.356, allocations: 11.34 kB / 3.463 GB, free: 88.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/6.358, allocations: 249.3 kB / 3.463 GB, free: 88.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/6.359, allocations: 415.9 kB / 3.464 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/6.359, allocations: 11.56 kB / 3.464 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/6.359, allocations: 19.25 kB / 3.464 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005982/6.36, allocations: 337.7 kB / 3.464 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/6.36, allocations: 408.5 kB / 3.465 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/6.36, allocations: 5.719 kB / 3.465 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/6.36, allocations: 3.438 kB / 3.465 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/6.36, allocations: 7.375 kB / 3.465 GB, free: 87.82 MB / 0.4948 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.01712/6.377, allocations: 10.14 MB / 3.474 GB, free: 81.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/6.378, allocations: 239.8 kB / 3.475 GB, free: 81.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/6.378, allocations: 132.1 kB / 3.475 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04426/6.422, allocations: 24.15 MB / 3.498 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/6.423, allocations: 42.22 kB / 3.498 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=24): time 2.925e-06/6.423, allocations: 0 / 3.498 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.002217/6.425, allocations: 0.5575 MB / 3.499 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/6.425, allocations: 108.3 kB / 3.499 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/6.425, allocations: 274.6 kB / 3.499 GB, free: 66.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/6.425, allocations: 25.7 kB / 3.499 GB, free: 66.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/6.426, allocations: 229.8 kB / 3.5 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/6.426, allocations: 84.55 kB / 3.5 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/6.426, allocations: 0 / 3.5 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/6.426, allocations: 347.7 kB / 3.5 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/6.426, allocations: 96.16 kB / 3.5 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/6.426, allocations: 197.5 kB / 3.5 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/6.427, allocations: 217.5 kB / 3.5 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/6.427, allocations: 0 / 3.5 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001207/6.428, allocations: 448.1 kB / 3.501 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002463/6.429, allocations: 1.046 MB / 3.502 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/6.429, allocations: 0 / 3.502 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/6.429, allocations: 7.875 kB / 3.502 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/6.429, allocations: 107.5 kB / 3.502 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/6.429, allocations: 7.438 kB / 3.502 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/6.43, allocations: 70.22 kB / 3.502 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/6.43, allocations: 17.86 kB / 3.502 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/6.43, allocations: 7.453 kB / 3.502 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009274/6.431, allocations: 348 kB / 3.502 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/6.431, allocations: 7.656 kB / 3.502 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/6.431, allocations: 7.344 kB / 3.502 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/6.431, allocations: 110.4 kB / 3.503 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/6.431, allocations: 6.688 kB / 3.503 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/6.431, allocations: 52.45 kB / 3.503 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/6.431, allocations: 20.38 kB / 3.503 GB, free: 64.7 MB / 0.4948 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.0001114/6.432, allocations: 111.8 kB / 3.503 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/6.432, allocations: 41.08 kB / 3.503 GB, free: 64.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/6.434, allocations: 1.711 MB / 3.504 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/6.434, allocations: 25.91 kB / 3.504 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/6.434, allocations: 3.609 kB / 3.505 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/6.434, allocations: 0 / 3.505 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/6.434, allocations: 0.8759 MB / 3.505 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/6.434, allocations: 6.422 kB / 3.505 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/6.435, allocations: 86.89 kB / 3.505 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/6.435, allocations: 3.625 kB / 3.505 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/6.435, allocations: 3.703 kB / 3.505 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/6.435, allocations: 7.328 kB / 3.505 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/6.435, allocations: 0 / 3.505 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/6.436, allocations: 0.972 MB / 3.506 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/6.436, allocations: 255.2 kB / 3.507 GB, free: 63.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/6.436, allocations: 7.438 kB / 3.507 GB, free: 63.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/6.437, allocations: 41.92 kB / 3.507 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/6.437, allocations: 36.52 kB / 3.507 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/6.437, allocations: 15.12 kB / 3.507 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002773/6.437, allocations: 313.3 kB / 3.507 GB, free: 63.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/6.437, allocations: 0 / 3.507 GB, free: 63.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006208/6.443, allocations: 1.16 MB / 3.508 GB, free: 63.45 MB / 0.4948 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.008241/6.452, allocations: 1.538 MB / 3.51 GB, free: 63.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001153/6.453, allocations: 0.6505 MB / 3.51 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/6.453, allocations: 3.906 kB / 3.51 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004415/6.453, allocations: 437.3 kB / 3.511 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/6.454, allocations: 180.2 kB / 3.511 GB, free: 63.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/6.456, allocations: 1.087 MB / 3.512 GB, free: 62.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/6.457, allocations: 0.9771 MB / 3.513 GB, free: 62.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009004/6.458, allocations: 0.5721 MB / 3.513 GB, free: 62.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/6.458, allocations: 45.73 kB / 3.514 GB, free: 62.11 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/6.458, allocations: 0 / 3.514 GB, free: 62.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.04244/6.5, allocations: 29.86 MB / 3.543 GB, free: 58.86 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches