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.001495/0.001495, 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.001639/0.00164, 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.332/1.332, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2118/0.2118, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3202, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03529/0.3555, allocations: 28.64 MB / 0.5475 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02224/0.3778, allocations: 16.93 MB / 0.5641 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005924/0.3784, allocations: 15.88 kB / 0.5641 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.3792, allocations: 258.3 kB / 0.5643 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.3898, allocations: 3.818 MB / 0.5681 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007021/0.3968, allocations: 2.551 MB / 0.5705 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.3982, allocations: 1.002 MB / 0.5715 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000587/0.3988, allocations: 293.5 kB / 0.5718 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.3998, allocations: 494 kB / 0.5723 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.4004, allocations: 306.7 kB / 0.5726 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4005, allocations: 36 kB / 0.5726 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.4158, allocations: 7.395 MB / 0.5798 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.4161, allocations: 115.5 kB / 0.5799 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.4166, allocations: 258.8 kB / 0.5802 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.4277, allocations: 4.589 MB / 0.5847 GB, free: 9.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4277, allocations: 0 / 0.5847 GB, free: 9.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4277, allocations: 0 / 0.5847 GB, free: 9.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.4278, allocations: 0 / 0.5847 GB, free: 9.27 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.003282/0.431, allocations: 1.329 MB / 0.586 GB, free: 7.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4311, allocations: 12.03 kB / 0.586 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.433, allocations: 224.2 kB / 0.5862 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.4337, allocations: 415.4 kB / 0.5866 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.4338, allocations: 28.66 kB / 0.5866 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.4338, allocations: 32 kB / 0.5866 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.4354, allocations: 0.6137 MB / 0.5872 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.4355, allocations: 11.94 kB / 0.5873 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.4355, allocations: 15.94 kB / 0.5873 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4355, allocations: 8 kB / 0.5873 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.4372, allocations: 0.5605 MB / 0.5878 GB, free: 5.902 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.003212/0.4404, allocations: 2.738 MB / 0.5905 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.4423, allocations: 0.5375 MB / 0.591 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.4428, allocations: 200.7 kB / 0.5912 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05246/0.4952, allocations: 24.32 MB / 0.615 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.4953, allocations: 34.56 kB / 0.615 GB, free: 6.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/0.4953, allocations: 0 / 0.615 GB, free: 6.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.00292/0.4982, allocations: 0.8129 MB / 0.6158 GB, free: 6.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.4983, allocations: 110.8 kB / 0.6159 GB, free: 5.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.4989, allocations: 393.9 kB / 0.6163 GB, free: 5.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.4989, allocations: 33.7 kB / 0.6163 GB, free: 5.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.4991, allocations: 220.1 kB / 0.6165 GB, free: 5.332 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.4992, allocations: 102.6 kB / 0.6166 GB, free: 5.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.4994, allocations: 89.58 kB / 0.6167 GB, free: 5.137 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4995, allocations: 346.8 kB / 0.617 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.4999, allocations: 160.8 kB / 0.6172 GB, free: 4.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.5004, allocations: 283.2 kB / 0.6174 GB, free: 4.297 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/0.5013, allocations: 426.5 kB / 0.6179 GB, free: 3.832 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5013, allocations: 8 kB / 0.6179 GB, free: 3.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001216/0.5025, allocations: 496.9 kB / 0.6183 GB, free: 3.332 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5026, allocations: 8 kB / 0.6183 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.5026, allocations: 7.938 kB / 0.6184 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5026, allocations: 4 kB / 0.6184 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.503, allocations: 99.81 kB / 0.6185 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.503, allocations: 11.98 kB / 0.6185 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.5034, allocations: 59.84 kB / 0.6185 GB, free: 3.145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.5035, allocations: 24 kB / 0.6185 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005085/0.504, allocations: 264 kB / 0.6188 GB, free: 2.859 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004625/0.5045, allocations: 275.3 kB / 0.6191 GB, free: 2.535 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007882/0.5053, allocations: 401.5 kB / 0.6194 GB, free: 2.094 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.5053, allocations: 3.984 kB / 0.6194 GB, free: 2.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001107/0.5064, allocations: 497 kB / 0.6199 GB, free: 1.598 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.5064, allocations: 4 kB / 0.6199 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5064, allocations: 4 kB / 0.6199 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.5064, allocations: 8 kB / 0.6199 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.5069, allocations: 92.19 kB / 0.62 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.5069, allocations: 19.92 kB / 0.62 GB, free: 1.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.5072, allocations: 47.67 kB / 0.6201 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.5073, allocations: 19.98 kB / 0.6201 GB, free: 1.406 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.0001807/0.5075, allocations: 200.1 kB / 0.6203 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.5076, allocations: 55.42 kB / 0.6203 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.5101, allocations: 1.935 MB / 0.6222 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.5101, allocations: 7.984 kB / 0.6222 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5101, allocations: 3.938 kB / 0.6222 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.5104, allocations: 207.7 kB / 0.6224 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.5105, allocations: 19.75 kB / 0.6225 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.5109, allocations: 39.95 kB / 0.6225 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.511, allocations: 40.2 kB / 0.6225 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001565/0.5126, allocations: 1.106 MB / 0.6236 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001619/0.5142, allocations: 1.176 MB / 0.6248 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006235/0.5148, allocations: 0.491 MB / 0.6253 GB, free: 12.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005008/0.5154, allocations: 386.8 kB / 0.6256 GB, free: 11.7 MB / 494.1 MB Notification: Performance of Backend: time 3.41e-07/0.5154, allocations: 0 / 0.6256 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007496/0.5229, allocations: 1.97 MB / 0.6275 GB, free: 9.73 MB / 494.1 MB Notification: Performance of SimCode: time 0.00262/0.5255, allocations: 1.742 MB / 0.6292 GB, free: 7.938 MB / 494.1 MB Notification: Performance of Templates: time 0.06233/0.5879, allocations: 46.72 MB / 0.6749 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