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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009474/0.0009477, allocations: 98.27 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3165/0.3165, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 55.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1072, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2181/0.3253, allocations: 29 MB / 0.5039 GB, free: 37.32 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.3395, allocations: 14.27 MB / 0.5179 GB, free: 37 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.3398, allocations: 11.91 kB / 0.5179 GB, free: 37 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005833/0.3404, allocations: 224.2 kB / 0.5181 GB, free: 36.97 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008309/0.3488, allocations: 2.917 MB / 0.5209 GB, free: 36.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005354/0.3541, allocations: 1.974 MB / 0.5229 GB, free: 36.22 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3553, allocations: 1.143 MB / 0.524 GB, free: 36.03 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.3556, allocations: 210.3 kB / 0.5242 GB, free: 36.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.3562, allocations: 401.1 kB / 0.5246 GB, free: 35.92 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.3565, allocations: 279.2 kB / 0.5248 GB, free: 35.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.3566, allocations: 15.91 kB / 0.5248 GB, free: 35.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/0.369, allocations: 7.114 MB / 0.5318 GB, free: 34.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3692, allocations: 83.81 kB / 0.5319 GB, free: 34.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.3695, allocations: 206.4 kB / 0.5321 GB, free: 34.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3799, allocations: 4.406 MB / 0.5364 GB, free: 33.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3799, allocations: 7.781 kB / 0.5364 GB, free: 33.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.38, allocations: 0 / 0.5364 GB, free: 33.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.38, allocations: 0 / 0.5364 GB, free: 33.26 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.003263/0.3832, allocations: 1.237 MB / 0.5376 GB, free: 32.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3833, allocations: 9 kB / 0.5376 GB, free: 32.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.3849, allocations: 218.2 kB / 0.5378 GB, free: 32.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.3853, allocations: 366.8 kB / 0.5381 GB, free: 32.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3853, allocations: 27.31 kB / 0.5382 GB, free: 32.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.3854, allocations: 29.75 kB / 0.5382 GB, free: 32.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.3868, allocations: 0.5938 MB / 0.5388 GB, free: 31.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3868, allocations: 3.156 kB / 0.5388 GB, free: 31.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3869, allocations: 10.88 kB / 0.5388 GB, free: 31.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3869, allocations: 8.812 kB / 0.5388 GB, free: 31.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.3884, allocations: 0.5439 MB / 0.5393 GB, free: 31.73 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.002462/0.3908, allocations: 2.634 MB / 0.5419 GB, free: 29.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.3923, allocations: 465.4 kB / 0.5424 GB, free: 29.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.3927, allocations: 211.5 kB / 0.5426 GB, free: 29.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04482/0.4376, allocations: 24.2 MB / 0.5662 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4376, allocations: 31.94 kB / 0.5662 GB, free: 11.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.4376, allocations: 0 / 0.5662 GB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.002837/0.4405, allocations: 0.8221 MB / 0.567 GB, free: 11.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.4406, allocations: 113.2 kB / 0.5671 GB, free: 11.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.4409, allocations: 316.4 kB / 0.5674 GB, free: 11.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.441, allocations: 31.08 kB / 0.5675 GB, free: 11.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4411, allocations: 206 kB / 0.5677 GB, free: 10.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.4411, allocations: 80.47 kB / 0.5677 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.4413, allocations: 69.94 kB / 0.5678 GB, free: 10.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.4413, allocations: 350.9 kB / 0.5681 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.4417, allocations: 143.8 kB / 0.5683 GB, free: 10.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.4422, allocations: 241.5 kB / 0.5685 GB, free: 10.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/0.4432, allocations: 375.5 kB / 0.5689 GB, free: 10.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4432, allocations: 5.391 kB / 0.5689 GB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00122/0.4444, allocations: 439 kB / 0.5693 GB, free: 9.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.4445, allocations: 6.719 kB / 0.5693 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.4445, allocations: 9.531 kB / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.4445, allocations: 3.469 kB / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.4449, allocations: 89.91 kB / 0.5694 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.445, allocations: 7.875 kB / 0.5694 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.4453, allocations: 60.92 kB / 0.5695 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.4454, allocations: 15.78 kB / 0.5695 GB, free: 9.73 MB / 394.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.0001952/0.4456, allocations: 166 kB / 0.5696 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.4457, allocations: 32.72 kB / 0.5697 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.4479, allocations: 1.925 MB / 0.5715 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.4479, allocations: 33.36 kB / 0.5716 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4479, allocations: 3.938 kB / 0.5716 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4479, allocations: 0 / 0.5716 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.4488, allocations: 1.016 MB / 0.5726 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4488, allocations: 3.984 kB / 0.5726 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.4491, allocations: 71.72 kB / 0.5726 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4491, allocations: 2.594 kB / 0.5726 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.4491, allocations: 11.02 kB / 0.5726 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4491, allocations: 6.906 kB / 0.5727 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4491, allocations: 0 / 0.5727 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.4515, allocations: 2.279 MB / 0.5749 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.4516, allocations: 161.2 kB / 0.575 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.4517, allocations: 26.09 kB / 0.5751 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.452, allocations: 45.73 kB / 0.5751 GB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.4521, allocations: 27.86 kB / 0.5751 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.4522, allocations: 15.83 kB / 0.5751 GB, free: 21.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003116/0.4525, allocations: 325.2 kB / 0.5755 GB, free: 21.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4525, allocations: 0 / 0.5755 GB, free: 21.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003329/0.4558, allocations: 1.012 MB / 0.5764 GB, free: 21.44 MB / 410.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.004644/0.4605, allocations: 1.178 MB / 0.5776 GB, free: 21.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.4617, allocations: 0.6076 MB / 0.5782 GB, free: 20.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4617, allocations: 0.625 kB / 0.5782 GB, free: 20.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.4624, allocations: 0.5242 MB / 0.5787 GB, free: 20.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.4635, allocations: 208.7 kB / 0.5789 GB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.4657, allocations: 2.554 MB / 0.5814 GB, free: 17.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.4661, allocations: 0.9989 MB / 0.5824 GB, free: 16.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000374/0.4665, allocations: 276 kB / 0.5826 GB, free: 16.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.4666, allocations: 43.44 kB / 0.5827 GB, free: 16.37 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4666, allocations: 0 / 0.5827 GB, free: 16.37 MB / 410.7 MB Notification: Performance of Templates: time 0.04713/0.5137, allocations: 39.22 MB / 0.621 GB, free: 9.18 MB / 442.7 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@2/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