Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,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|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001224/0.001224, allocations: 187.2 kB / 19.39 MB, free: 3.711 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.343/1.343, allocations: 222.9 MB / 243.1 MB, free: 15.1 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.2187/0.2187, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3103, allocations: 60.82 MB / 0.5196 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.02937/0.3397, allocations: 28.64 MB / 0.5475 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.3613, allocations: 16.92 MB / 0.5641 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008535/0.3622, allocations: 15.88 kB / 0.5641 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.3633, allocations: 254.3 kB / 0.5643 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.3748, allocations: 3.826 MB / 0.5681 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007346/0.3822, allocations: 2.555 MB / 0.5706 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3836, allocations: 0.9981 MB / 0.5715 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.3842, allocations: 289.5 kB / 0.5718 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.3852, allocations: 498 kB / 0.5723 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.3857, allocations: 302.7 kB / 0.5726 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.3858, allocations: 36 kB / 0.5726 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.401, allocations: 7.395 MB / 0.5798 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.4013, allocations: 123.5 kB / 0.5799 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.4017, allocations: 250.8 kB / 0.5802 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4135, allocations: 4.606 MB / 0.5847 GB, free: 9.402 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4136, allocations: 0 / 0.5847 GB, free: 9.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4136, allocations: 0 / 0.5847 GB, free: 9.402 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.216e-05/0.4136, allocations: 0 / 0.5847 GB, free: 9.402 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005113/0.4188, allocations: 1.368 MB / 0.586 GB, free: 7.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4188, allocations: 12.02 kB / 0.586 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.421, allocations: 224.4 kB / 0.5862 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.4219, allocations: 415.8 kB / 0.5866 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.422, allocations: 28.66 kB / 0.5867 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.422, allocations: 36 kB / 0.5867 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.4239, allocations: 0.6215 MB / 0.5873 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4239, allocations: 0 / 0.5873 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.424, allocations: 23.88 kB / 0.5873 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.424, allocations: 8 kB / 0.5873 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.4257, allocations: 0.5567 MB / 0.5879 GB, free: 5.988 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.003508/0.4292, allocations: 2.747 MB / 0.5906 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.4313, allocations: 0.5414 MB / 0.5911 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.4318, allocations: 188.7 kB / 0.5913 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05097/0.4828, allocations: 24.32 MB / 0.615 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.4829, allocations: 38.56 kB / 0.6151 GB, free: 7.008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.856e-06/0.4829, allocations: 0 / 0.6151 GB, free: 7.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.00288/0.4858, allocations: 0.8132 MB / 0.6159 GB, free: 6.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4858, allocations: 114.8 kB / 0.616 GB, free: 6.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.4863, allocations: 389.9 kB / 0.6163 GB, free: 5.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4863, allocations: 29.7 kB / 0.6164 GB, free: 5.629 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.4865, allocations: 232.5 kB / 0.6166 GB, free: 5.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.4866, allocations: 99.16 kB / 0.6167 GB, free: 5.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.4867, allocations: 81.67 kB / 0.6168 GB, free: 5.215 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4869, allocations: 354.8 kB / 0.6171 GB, free: 4.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.4873, allocations: 160.8 kB / 0.6173 GB, free: 4.699 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.4878, allocations: 283.2 kB / 0.6175 GB, free: 4.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008495/0.4887, allocations: 430.5 kB / 0.6179 GB, free: 3.898 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4887, allocations: 0 / 0.6179 GB, free: 3.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001118/0.4898, allocations: 0.4893 MB / 0.6184 GB, free: 3.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4898, allocations: 8 kB / 0.6184 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4899, allocations: 3.984 kB / 0.6184 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4899, allocations: 8 kB / 0.6184 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.4903, allocations: 103.8 kB / 0.6185 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4903, allocations: 4.281 kB / 0.6185 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.4907, allocations: 63.64 kB / 0.6186 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.4907, allocations: 19.98 kB / 0.6186 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005309/0.4913, allocations: 268 kB / 0.6189 GB, free: 2.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004812/0.4918, allocations: 275.2 kB / 0.6191 GB, free: 2.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008356/0.4926, allocations: 405.4 kB / 0.6195 GB, free: 2.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.4926, allocations: 4 kB / 0.6195 GB, free: 2.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001075/0.4937, allocations: 489 kB / 0.62 GB, free: 1.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4937, allocations: 14.33 kB / 0.62 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4938, allocations: 8 kB / 0.62 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.4938, allocations: 4.469 kB / 0.62 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.4942, allocations: 103.9 kB / 0.6201 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4942, allocations: 4 kB / 0.6201 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.4945, allocations: 43.81 kB / 0.6202 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.4945, allocations: 27.92 kB / 0.6202 GB, free: 1.473 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001577/0.4947, allocations: 208.1 kB / 0.6204 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.4948, allocations: 43.72 kB / 0.6204 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.4973, allocations: 1.944 MB / 0.6223 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4974, allocations: 0 / 0.6223 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4974, allocations: 3.938 kB / 0.6223 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.4976, allocations: 216.1 kB / 0.6225 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/0.4977, allocations: 27.84 kB / 0.6226 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.4981, allocations: 31.95 kB / 0.6226 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.4982, allocations: 36.22 kB / 0.6226 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001516/0.4997, allocations: 1.115 MB / 0.6237 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001459/0.5012, allocations: 1.188 MB / 0.6249 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006286/0.5018, allocations: 0.491 MB / 0.6254 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004396/0.5022, allocations: 378.8 kB / 0.6257 GB, free: 11.75 MB / 494.1 MB Notification: Performance of Backend: time 4.91e-07/0.5023, allocations: 0 / 0.6257 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006976/0.5092, allocations: 1.982 MB / 0.6276 GB, free: 9.77 MB / 494.1 MB Notification: Performance of SimCode: time 0.002296/0.5116, allocations: 1.781 MB / 0.6294 GB, free: 7.934 MB / 494.1 MB Notification: Performance of Templates: time 0.06279/0.5744, allocations: 46.72 MB / 0.675 GB, free: 9.273 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches