Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 107.7 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3248/0.3248, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 47.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3695, allocations: 60.8 MB / 0.5064 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02433/0.3939, allocations: 29 MB / 0.5347 GB, free: 18.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.4076, allocations: 14.28 MB / 0.5487 GB, free: 8.102 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.408, allocations: 10.62 kB / 0.5487 GB, free: 8.098 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.4087, allocations: 219.2 kB / 0.5489 GB, free: 7.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007676/0.4164, allocations: 2.934 MB / 0.5517 GB, free: 6.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005458/0.4219, allocations: 1.972 MB / 0.5537 GB, free: 5.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.4231, allocations: 1.146 MB / 0.5548 GB, free: 5.207 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.4234, allocations: 206.7 kB / 0.555 GB, free: 5.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007161/0.4241, allocations: 412.8 kB / 0.5554 GB, free: 4.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.4245, allocations: 272.8 kB / 0.5556 GB, free: 4.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.4245, allocations: 17.88 kB / 0.5556 GB, free: 4.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/0.4405, allocations: 7.119 MB / 0.5626 GB, free: 2.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.4407, allocations: 83.22 kB / 0.5627 GB, free: 2.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.4411, allocations: 210.8 kB / 0.5629 GB, free: 2.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.4544, allocations: 4.413 MB / 0.5672 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4545, allocations: 3.938 kB / 0.5672 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4545, allocations: 0 / 0.5672 GB, free: 15.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4545, allocations: 0 / 0.5672 GB, free: 15.95 MB / 394.7 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.004308/0.4588, allocations: 1.244 MB / 0.5684 GB, free: 15.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.4589, allocations: 13.75 kB / 0.5684 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.4607, allocations: 209.6 kB / 0.5686 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.4613, allocations: 367.9 kB / 0.569 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.4613, allocations: 29.88 kB / 0.569 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.4614, allocations: 26.75 kB / 0.569 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.463, allocations: 0.5992 MB / 0.5696 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.463, allocations: 1.125 kB / 0.5696 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.4631, allocations: 16.31 kB / 0.5696 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4631, allocations: 8 kB / 0.5696 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.4647, allocations: 0.5424 MB / 0.5702 GB, free: 13.91 MB / 394.7 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.003134/0.4678, allocations: 2.62 MB / 0.5727 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.4694, allocations: 477.5 kB / 0.5732 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.4699, allocations: 199 kB / 0.5734 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04958/0.5195, allocations: 24.22 MB / 0.597 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.5196, allocations: 38.56 kB / 0.5971 GB, free: 15.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.465e-06/0.5196, allocations: 0 / 0.5971 GB, free: 15.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002938/0.5226, allocations: 0.8227 MB / 0.5979 GB, free: 15.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.5227, allocations: 102.8 kB / 0.598 GB, free: 14.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.523, allocations: 308.5 kB / 0.5983 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.5231, allocations: 33.64 kB / 0.5983 GB, free: 14.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5232, allocations: 204.2 kB / 0.5985 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.5233, allocations: 86.78 kB / 0.5986 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.5234, allocations: 77.59 kB / 0.5986 GB, free: 14.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5235, allocations: 342.8 kB / 0.599 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.524, allocations: 147.9 kB / 0.5991 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.5245, allocations: 235 kB / 0.5993 GB, free: 13.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.5253, allocations: 382.8 kB / 0.5997 GB, free: 13.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.5254, allocations: 4 kB / 0.5997 GB, free: 13.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001041/0.5264, allocations: 444.9 kB / 0.6001 GB, free: 12.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5264, allocations: 4 kB / 0.6001 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5265, allocations: 4 kB / 0.6001 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.5265, allocations: 7.938 kB / 0.6001 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.5268, allocations: 87.88 kB / 0.6002 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.5269, allocations: 7.938 kB / 0.6002 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.5273, allocations: 63.77 kB / 0.6003 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.5273, allocations: 16 kB / 0.6003 GB, free: 12.46 MB / 426.7 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.0001831/0.5275, allocations: 157.7 kB / 0.6005 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.5276, allocations: 35.62 kB / 0.6005 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.53, allocations: 1.916 MB / 0.6024 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.53, allocations: 39.88 kB / 0.6024 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.53, allocations: 7.938 kB / 0.6024 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.53, allocations: 0 / 0.6024 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.5311, allocations: 1.012 MB / 0.6034 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5311, allocations: 0 / 0.6034 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.5314, allocations: 71.92 kB / 0.6035 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.5314, allocations: 4 kB / 0.6035 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.5315, allocations: 8 kB / 0.6035 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.5315, allocations: 11.94 kB / 0.6035 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5315, allocations: 3.984 kB / 0.6035 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.5341, allocations: 2.272 MB / 0.6057 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.5343, allocations: 167.8 kB / 0.6059 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.5344, allocations: 19.75 kB / 0.6059 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.5347, allocations: 47.89 kB / 0.6059 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.5348, allocations: 31.89 kB / 0.606 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.5349, allocations: 12 kB / 0.606 GB, free: 6.508 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003699/0.5352, allocations: 331.1 kB / 0.6063 GB, free: 6.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5353, allocations: 0 / 0.6063 GB, free: 6.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004527/0.5398, allocations: 1.011 MB / 0.6073 GB, free: 5.168 MB / 426.7 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.005765/0.5456, allocations: 1.171 MB / 0.6084 GB, free: 3.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.547, allocations: 0.6117 MB / 0.609 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.547, allocations: 4 kB / 0.609 GB, free: 3.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.5477, allocations: 0.5127 MB / 0.6095 GB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5491, allocations: 216.3 kB / 0.6097 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.5519, allocations: 2.547 MB / 0.6122 GB, free: 72 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.5524, allocations: 1.003 MB / 0.6132 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004596/0.5529, allocations: 265.6 kB / 0.6135 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.553, allocations: 39.38 kB / 0.6135 GB, free: 14.75 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.553, allocations: 0 / 0.6135 GB, free: 14.75 MB / 442.7 MB Notification: Performance of Templates: time 0.05126/0.6043, allocations: 39.25 MB / 0.6518 GB, free: 7.566 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches