Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004768/0.004768, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001161/0.001161, allocations: 195.6 kB / 16.79 MB, free: 6.238 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.389/1.389, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3285/0.3285, allocations: 43.5 MB / 313.5 MB, free: 8.293 MB / 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.001659/0.001659, allocations: 67.91 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1406, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2823/0.4229, allocations: 28.99 MB / 468.8 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.4376, allocations: 14.27 MB / 483.1 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.4381, allocations: 10.19 kB / 483.1 MB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.4389, allocations: 226 kB / 483.3 MB, free: 24.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009764/0.4487, allocations: 2.921 MB / 486.2 MB, free: 23.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006541/0.4553, allocations: 1.968 MB / 488.2 MB, free: 22.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.4566, allocations: 1.138 MB / 489.3 MB, free: 22.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.4569, allocations: 217.6 kB / 489.6 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/0.4576, allocations: 404.2 kB / 490 MB, free: 21.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.4579, allocations: 273.5 kB / 490.2 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.458, allocations: 19.12 kB / 490.2 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.4722, allocations: 7.115 MB / 497.4 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.4725, allocations: 87.05 kB / 497.4 MB, free: 20 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.4729, allocations: 203 kB / 497.6 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.4903, allocations: 4.413 MB / 0.4903 GB, free: 18.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.4904, allocations: 1.375 kB / 0.4903 GB, free: 18.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4904, allocations: 0 / 0.4903 GB, free: 18.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.4904, allocations: 0 / 0.4903 GB, free: 18.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.008035/0.4985, allocations: 1.236 MB / 0.4915 GB, free: 17.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4985, allocations: 9.125 kB / 0.4915 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.5004, allocations: 214.8 kB / 0.4917 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.501, allocations: 360.9 kB / 0.4921 GB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.501, allocations: 26.09 kB / 0.4921 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.5011, allocations: 37.39 kB / 0.4921 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.5029, allocations: 0.5886 MB / 0.4927 GB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5029, allocations: 1.312 kB / 0.4927 GB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.503, allocations: 16.16 kB / 0.4927 GB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.503, allocations: 8.609 kB / 0.4927 GB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.5048, allocations: 0.5412 MB / 0.4932 GB, free: 17.1 MB / 382.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.002938/0.5077, allocations: 2.633 MB / 0.4958 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.5093, allocations: 466.2 kB / 0.4963 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.5098, allocations: 199.6 kB / 0.4964 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04777/0.5576, allocations: 24.21 MB / 0.5201 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.5576, allocations: 40.66 kB / 0.5201 GB, free: 11.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.5577, allocations: 4 kB / 0.5201 GB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002972/0.5606, allocations: 0.8145 MB / 0.5209 GB, free: 11.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.5607, allocations: 110.2 kB / 0.521 GB, free: 10.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.5612, allocations: 312 kB / 0.5213 GB, free: 10.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.5612, allocations: 35.11 kB / 0.5214 GB, free: 10.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.5614, allocations: 211.2 kB / 0.5216 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.5615, allocations: 87.91 kB / 0.5216 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.5616, allocations: 69.25 kB / 0.5217 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5617, allocations: 346.9 kB / 0.522 GB, free: 10 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.5621, allocations: 144.1 kB / 0.5222 GB, free: 9.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.5627, allocations: 243 kB / 0.5224 GB, free: 9.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.5635, allocations: 375.1 kB / 0.5228 GB, free: 9.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5635, allocations: 0 / 0.5228 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001062/0.5646, allocations: 450.1 kB / 0.5232 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5646, allocations: 4 kB / 0.5232 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5646, allocations: 4 kB / 0.5232 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5647, allocations: 4 kB / 0.5232 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.565, allocations: 87.81 kB / 0.5233 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.5651, allocations: 9.125 kB / 0.5233 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.5655, allocations: 63.64 kB / 0.5234 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.5655, allocations: 16 kB / 0.5234 GB, free: 8.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001985/0.5657, allocations: 161.7 kB / 0.5235 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.5658, allocations: 35.62 kB / 0.5236 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.5682, allocations: 1.914 MB / 0.5254 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/0.5683, allocations: 35.89 kB / 0.5255 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5683, allocations: 3.938 kB / 0.5255 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5683, allocations: 3.938 kB / 0.5255 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5694, allocations: 1.014 MB / 0.5265 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.5694, allocations: 3.984 kB / 0.5265 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.5697, allocations: 75.94 kB / 0.5265 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5697, allocations: 0 / 0.5265 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.5698, allocations: 11.12 kB / 0.5266 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.5698, allocations: 7.922 kB / 0.5266 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5698, allocations: 3.938 kB / 0.5266 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.5713, allocations: 1.105 MB / 0.5276 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.5714, allocations: 163.8 kB / 0.5278 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.5715, allocations: 27.69 kB / 0.5278 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.5718, allocations: 43.91 kB / 0.5279 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5719, allocations: 35.94 kB / 0.5279 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.572, allocations: 8 kB / 0.5279 GB, free: 3.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003971/0.5724, allocations: 323.1 kB / 0.5282 GB, free: 3.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5724, allocations: 0 / 0.5282 GB, free: 3.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006482/0.5789, allocations: 0.9916 MB / 0.5292 GB, free: 2.656 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009826/0.5887, allocations: 1.186 MB / 0.5303 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.5903, allocations: 0.6024 MB / 0.5309 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.5903, allocations: 0.625 kB / 0.5309 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.5911, allocations: 0.5256 MB / 0.5315 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.5924, allocations: 213.6 kB / 0.5317 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.5947, allocations: 1.855 MB / 0.5335 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.5952, allocations: 0.9638 MB / 0.5344 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005031/0.5957, allocations: 270.8 kB / 0.5347 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5958, allocations: 43.44 kB / 0.5347 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5958, allocations: 0 / 0.5347 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.05396/0.6498, allocations: 38.92 MB / 0.5727 GB, free: 6.047 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches