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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 114.6 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 198.1 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1932/0.1932, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 61.47 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09166, allocations: 57.8 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02687/0.1186, allocations: 28.54 MB / 0.5164 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2083/0.3269, allocations: 16.93 MB / 0.5329 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.3274, allocations: 16.25 kB / 0.533 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006244/0.328, allocations: 256.4 kB / 0.5332 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009988/0.3381, allocations: 4.546 MB / 0.5376 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.3422, allocations: 1.875 MB / 0.5395 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3433, allocations: 0.9656 MB / 0.5404 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.3437, allocations: 286.8 kB / 0.5407 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007858/0.3445, allocations: 491.9 kB / 0.5412 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003347/0.3478, allocations: 1.862 MB / 0.543 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.519e-05/0.3479, allocations: 38.25 kB / 0.543 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.3616, allocations: 7.501 MB / 0.5503 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3618, allocations: 108.1 kB / 0.5504 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.3622, allocations: 245.6 kB / 0.5507 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.3723, allocations: 4.64 MB / 0.5552 GB, free: 2.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3723, allocations: 0 / 0.5552 GB, free: 2.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3723, allocations: 5.375 kB / 0.5552 GB, free: 2.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3723, allocations: 0 / 0.5552 GB, free: 2.074 MB / 414.1 MB 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.003569/0.3759, allocations: 1.319 MB / 0.5565 GB, free: 1.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.376, allocations: 15.97 kB / 0.5565 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.3779, allocations: 243.3 kB / 0.5568 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.3784, allocations: 408.5 kB / 0.5571 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.3784, allocations: 44.38 kB / 0.5572 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.3785, allocations: 31.19 kB / 0.5572 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.38, allocations: 0.5983 MB / 0.5578 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.38, allocations: 2.625 kB / 0.5578 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.38, allocations: 14.59 kB / 0.5578 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.38, allocations: 7.719 kB / 0.5578 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.3816, allocations: 0.5671 MB / 0.5584 GB, free: 424 kB / 414.1 MB 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.00299/0.3846, allocations: 2.635 MB / 0.5609 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3861, allocations: 466.1 kB / 0.5614 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.3865, allocations: 195.7 kB / 0.5616 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04646/0.4329, allocations: 24.3 MB / 0.5853 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.433, allocations: 40.91 kB / 0.5853 GB, free: 8.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/0.433, allocations: 0 / 0.5853 GB, free: 8.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002879/0.4359, allocations: 0.8159 MB / 0.5861 GB, free: 7.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.436, allocations: 114.8 kB / 0.5863 GB, free: 7.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.4364, allocations: 373.5 kB / 0.5866 GB, free: 6.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.4365, allocations: 29.7 kB / 0.5866 GB, free: 6.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.4366, allocations: 223 kB / 0.5868 GB, free: 6.594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.4367, allocations: 78.84 kB / 0.5869 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4368, allocations: 82.2 kB / 0.587 GB, free: 6.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.437, allocations: 353.7 kB / 0.5873 GB, free: 6.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.4374, allocations: 169.7 kB / 0.5875 GB, free: 5.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.4379, allocations: 258.4 kB / 0.5877 GB, free: 5.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.4388, allocations: 403.8 kB / 0.5881 GB, free: 5.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4388, allocations: 0 / 0.5881 GB, free: 5.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001108/0.4399, allocations: 492.8 kB / 0.5886 GB, free: 4.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4399, allocations: 4 kB / 0.5886 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4399, allocations: 4 kB / 0.5886 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.44, allocations: 8.344 kB / 0.5886 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.4404, allocations: 101.6 kB / 0.5887 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.4404, allocations: 4 kB / 0.5887 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.4408, allocations: 51.66 kB / 0.5888 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4409, allocations: 23.98 kB / 0.5888 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000513/0.4414, allocations: 272 kB / 0.5891 GB, free: 4.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004707/0.4419, allocations: 267.7 kB / 0.5893 GB, free: 3.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008016/0.4427, allocations: 384.9 kB / 0.5897 GB, free: 3.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.4427, allocations: 0 / 0.5897 GB, free: 3.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001069/0.4438, allocations: 483 kB / 0.5901 GB, free: 3.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4438, allocations: 8 kB / 0.5901 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.4438, allocations: 0 / 0.5901 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.4438, allocations: 8 kB / 0.5901 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.4442, allocations: 95.27 kB / 0.5902 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4442, allocations: 10.72 kB / 0.5903 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.4446, allocations: 47.72 kB / 0.5903 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4446, allocations: 21.11 kB / 0.5903 GB, free: 2.926 MB / 446.1 MB 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,SinkP1.medium.phase,SourceP1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.4448, allocations: 203.6 kB / 0.5905 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.4449, allocations: 43.47 kB / 0.5906 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.4473, allocations: 1.952 MB / 0.5925 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4473, allocations: 0 / 0.5925 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4473, allocations: 0 / 0.5925 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.4475, allocations: 223.4 kB / 0.5927 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.4476, allocations: 26.97 kB / 0.5927 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.448, allocations: 41.03 kB / 0.5927 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.4481, allocations: 35.95 kB / 0.5928 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001539/0.4497, allocations: 1.121 MB / 0.5939 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001483/0.4511, allocations: 1.194 MB / 0.595 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006363/0.4518, allocations: 0.5057 MB / 0.5955 GB, free: 13.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.4522, allocations: 374.8 kB / 0.5959 GB, free: 13.21 MB / 462.1 MB Notification: Performance of Backend: time 4.41e-07/0.4522, allocations: 0 / 0.5959 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007863/0.4601, allocations: 2.011 MB / 0.5978 GB, free: 11.36 MB / 462.1 MB Notification: Performance of SimCode: time 0.002044/0.4622, allocations: 1.693 MB / 0.5995 GB, free: 9.625 MB / 462.1 MB Notification: Performance of Templates: time 0.06214/0.5243, allocations: 47.76 MB / 0.6461 GB, free: 9.91 MB / 0.4981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches