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.001011/0.001011, allocations: 95.97 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009743/0.0009744, allocations: 174.3 kB / 16.57 MB, free: 6.852 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.282/1.282, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.3064/0.3064, allocations: 43.54 MB / 314.5 MB, free: 8.859 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.0004742/0.0004743, allocations: 12 kB / 383.9 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.0992, allocations: 58.86 MB / 442.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.1833/0.2825, allocations: 23.8 MB / 466.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.2927, allocations: 11.37 MB / 477.9 MB, free: 30.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.293, allocations: 10.94 kB / 477.9 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.2936, allocations: 206.1 kB / 478.1 MB, free: 30.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005937/0.2996, allocations: 2.814 MB / 480.9 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004546/0.3041, allocations: 1.906 MB / 482.9 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006973/0.3048, allocations: 0.5418 MB / 483.4 MB, free: 28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.3052, allocations: 209.5 kB / 483.6 MB, free: 27.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.3059, allocations: 398.6 kB / 484 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3062, allocations: 205.7 kB / 484.2 MB, free: 27.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.3062, allocations: 16.59 kB / 484.2 MB, free: 27.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.3178, allocations: 7.015 MB / 491.2 MB, free: 26.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.318, allocations: 75.17 kB / 491.3 MB, free: 26.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3182, allocations: 106.8 kB / 491.4 MB, free: 26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0057/0.3239, allocations: 2.945 MB / 494.3 MB, free: 25.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3239, allocations: 0 / 494.3 MB, free: 25.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.324, allocations: 0 / 494.3 MB, free: 25.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.324, allocations: 1.219 kB / 494.3 MB, free: 25.43 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.004199/0.3282, allocations: 1.175 MB / 495.5 MB, free: 24.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3282, allocations: 13.09 kB / 495.5 MB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.33, allocations: 218.3 kB / 495.7 MB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.3306, allocations: 357.3 kB / 496.1 MB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.3306, allocations: 30.08 kB / 496.1 MB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.3307, allocations: 27.69 kB / 496.1 MB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3323, allocations: 0.613 MB / 496.8 MB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3324, allocations: 0 / 496.8 MB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.3324, allocations: 13.34 kB / 496.8 MB, free: 24.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3324, allocations: 7.531 kB / 496.8 MB, free: 24.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.3342, allocations: 0.5921 MB / 497.4 MB, free: 23.92 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.002726/0.3369, allocations: 2.643 MB / 0.4883 GB, free: 21.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.3384, allocations: 0.4981 MB / 0.4888 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04495/0.3834, allocations: 24.43 MB / 0.5126 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3835, allocations: 33.44 kB / 0.5127 GB, free: 3.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.3835, allocations: 4 kB / 0.5127 GB, free: 3.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.002992/0.3865, allocations: 0.8822 MB / 0.5135 GB, free: 2.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3866, allocations: 110.6 kB / 0.5136 GB, free: 2.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.3869, allocations: 317.3 kB / 0.5139 GB, free: 2.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.3869, allocations: 32.55 kB / 0.514 GB, free: 2.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.387, allocations: 200.8 kB / 0.5142 GB, free: 2.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.3871, allocations: 81.88 kB / 0.5142 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.3871, allocations: 5.312 kB / 0.5143 GB, free: 1.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.77e-05/0.3872, allocations: 342 kB / 0.5146 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.3876, allocations: 172.6 kB / 0.5147 GB, free: 1.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.3881, allocations: 260.4 kB / 0.515 GB, free: 1.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.3885, allocations: 188.4 kB / 0.5152 GB, free: 1.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3885, allocations: 0 / 0.5152 GB, free: 1.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009937/0.3895, allocations: 478.6 kB / 0.5156 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3896, allocations: 8 kB / 0.5156 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3896, allocations: 2.25 kB / 0.5156 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3896, allocations: 4.094 kB / 0.5156 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.3899, allocations: 106.9 kB / 0.5157 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3899, allocations: 3.25 kB / 0.5157 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.3903, allocations: 68.78 kB / 0.5158 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.3904, allocations: 16.42 kB / 0.5158 GB, free: 0.9766 MB / 382.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 (SourceP1.medium.phase,SinkP1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.3905, allocations: 166.1 kB / 0.516 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.3906, allocations: 33.47 kB / 0.516 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.3929, allocations: 1.971 MB / 0.5179 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.3929, allocations: 29.14 kB / 0.518 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.393, allocations: 0 / 0.518 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.393, allocations: 3.984 kB / 0.518 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3942, allocations: 1.026 MB / 0.519 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3942, allocations: 1.062 kB / 0.519 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.3945, allocations: 96.89 kB / 0.5191 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3946, allocations: 1.812 kB / 0.5191 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.3946, allocations: 5.812 kB / 0.5191 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3946, allocations: 1.781 kB / 0.5191 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3946, allocations: 0 / 0.5191 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.3962, allocations: 1.127 MB / 0.5202 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.3965, allocations: 227.4 kB / 0.5204 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.3966, allocations: 8 kB / 0.5204 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.3969, allocations: 47.95 kB / 0.5204 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.397, allocations: 35.94 kB / 0.5205 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.3971, allocations: 8 kB / 0.5205 GB, free: 13.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004408/0.3975, allocations: 323.1 kB / 0.5208 GB, free: 13.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3975, allocations: 0 / 0.5208 GB, free: 13.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004144/0.4017, allocations: 0.9955 MB / 0.5218 GB, free: 12.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007079/0.4088, allocations: 1.173 MB / 0.5229 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.4101, allocations: 0.6508 MB / 0.5236 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4101, allocations: 0 / 0.5236 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007306/0.4109, allocations: 0.5334 MB / 0.5241 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4121, allocations: 205.6 kB / 0.5243 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.4145, allocations: 1.881 MB / 0.5261 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.4151, allocations: 0.9835 MB / 0.5271 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004727/0.4156, allocations: 269.7 kB / 0.5273 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.4157, allocations: 39.44 kB / 0.5274 GB, free: 6.426 MB / 398.1 MB Notification: Performance of SimCode: time 1.472e-06/0.4157, allocations: 4 kB / 0.5274 GB, free: 6.422 MB / 398.1 MB Notification: Performance of Templates: time 0.05712/0.4728, allocations: 39.19 MB / 0.5656 GB, free: 15.22 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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