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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.0012/0.0012, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2964, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02912/0.3256, allocations: 28.52 MB / 0.5474 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02044/0.346, allocations: 16.95 MB / 0.564 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005661/0.3466, allocations: 15.88 kB / 0.564 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007105/0.3474, allocations: 262.3 kB / 0.5642 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.3601, allocations: 4.561 MB / 0.5687 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005269/0.3654, allocations: 1.875 MB / 0.5705 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.3667, allocations: 0.9746 MB / 0.5715 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005684/0.3673, allocations: 288.8 kB / 0.5718 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.3686, allocations: 486 kB / 0.5722 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004544/0.3731, allocations: 1.87 MB / 0.574 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3733, allocations: 40 kB / 0.5741 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.3881, allocations: 7.5 MB / 0.5814 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.3884, allocations: 119.5 kB / 0.5815 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.3889, allocations: 242.9 kB / 0.5818 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.3998, allocations: 4.651 MB / 0.5863 GB, free: 7.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3998, allocations: 0 / 0.5863 GB, free: 7.723 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.145e-06/0.3999, allocations: 4 kB / 0.5863 GB, free: 7.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.3999, allocations: 0 / 0.5863 GB, free: 7.719 MB / 446.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.004394/0.4043, allocations: 1.325 MB / 0.5876 GB, free: 6.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4043, allocations: 16.03 kB / 0.5876 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.4069, allocations: 240.1 kB / 0.5878 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.4077, allocations: 411.5 kB / 0.5882 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.4077, allocations: 28.66 kB / 0.5883 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.4078, allocations: 28 kB / 0.5883 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.4095, allocations: 0.6001 MB / 0.5889 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4096, allocations: 11.92 kB / 0.5889 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.4096, allocations: 12 kB / 0.5889 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.4096, allocations: 8 kB / 0.5889 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.4114, allocations: 0.5641 MB / 0.5895 GB, free: 4.363 MB / 446.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.003474/0.4149, allocations: 2.625 MB / 0.592 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.4165, allocations: 465.6 kB / 0.5925 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.4169, allocations: 192.7 kB / 0.5926 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05076/0.4677, allocations: 24.32 MB / 0.6164 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.4678, allocations: 38.56 kB / 0.6164 GB, free: 5.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 4.348e-06/0.4678, allocations: 3.984 kB / 0.6164 GB, free: 5.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003109/0.4709, allocations: 0.8206 MB / 0.6172 GB, free: 4.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.471, allocations: 106.8 kB / 0.6173 GB, free: 4.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.4715, allocations: 377.5 kB / 0.6177 GB, free: 4.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.4716, allocations: 33.7 kB / 0.6177 GB, free: 4.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.4717, allocations: 224.1 kB / 0.6179 GB, free: 3.977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.4718, allocations: 86.75 kB / 0.618 GB, free: 3.891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.472, allocations: 77.67 kB / 0.6181 GB, free: 3.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4721, allocations: 350.8 kB / 0.6184 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.4726, allocations: 164.7 kB / 0.6186 GB, free: 3.293 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.4731, allocations: 264 kB / 0.6188 GB, free: 2.992 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.474, allocations: 405.8 kB / 0.6192 GB, free: 2.559 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.474, allocations: 3.938 kB / 0.6192 GB, free: 2.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001178/0.4752, allocations: 485 kB / 0.6197 GB, free: 2.074 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4752, allocations: 12.03 kB / 0.6197 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4753, allocations: 0 / 0.6197 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4753, allocations: 4 kB / 0.6197 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.4757, allocations: 103.9 kB / 0.6198 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.4758, allocations: 7.938 kB / 0.6198 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.4762, allocations: 59.56 kB / 0.6199 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.4762, allocations: 15.98 kB / 0.6199 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005568/0.4768, allocations: 276 kB / 0.6202 GB, free: 1.602 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004948/0.4773, allocations: 251.9 kB / 0.6204 GB, free: 1.312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008538/0.4781, allocations: 398.2 kB / 0.6208 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.993e-06/0.4782, allocations: 3.938 kB / 0.6208 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001132/0.4793, allocations: 480.6 kB / 0.6212 GB, free: 416 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4793, allocations: 4 kB / 0.6212 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4793, allocations: 4 kB / 0.6212 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.4793, allocations: 4.344 kB / 0.6212 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.4798, allocations: 99.86 kB / 0.6213 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.4798, allocations: 4 kB / 0.6213 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.4801, allocations: 47.81 kB / 0.6214 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.4802, allocations: 15.98 kB / 0.6214 GB, free: 236 kB / 478.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.0001639/0.4803, allocations: 208 kB / 0.6216 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4805, allocations: 43.58 kB / 0.6216 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.4831, allocations: 1.952 MB / 0.6236 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4831, allocations: 0 / 0.6236 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4831, allocations: 0 / 0.6236 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.4833, allocations: 207.7 kB / 0.6238 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.4835, allocations: 27.69 kB / 0.6238 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.4838, allocations: 39.95 kB / 0.6238 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.484, allocations: 39.83 kB / 0.6239 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001662/0.4856, allocations: 1.125 MB / 0.625 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001576/0.4872, allocations: 1.191 MB / 0.6261 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006613/0.4879, allocations: 0.5 MB / 0.6266 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004577/0.4884, allocations: 374.8 kB / 0.627 GB, free: 10.48 MB / 494.1 MB Notification: Performance of Backend: time 1.734e-06/0.4884, allocations: 0 / 0.627 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007487/0.4959, allocations: 2.017 MB / 0.6289 GB, free: 8.461 MB / 494.1 MB Notification: Performance of SimCode: time 0.002394/0.4983, allocations: 1.697 MB / 0.6306 GB, free: 6.723 MB / 494.1 MB Notification: Performance of Templates: time 0.06585/0.5641, allocations: 47.45 MB / 0.6769 GB, free: 7.324 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches