Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 173.9 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.6 MB / 222.4 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008561/0.0008559, allocations: 102.5 kB / 270.8 MB, free: 8.113 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3388/0.3388, allocations: 43.68 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 8 kB / 432.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 58.85 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.208/0.3169, allocations: 32.21 MB / 0.5111 GB, free: 25.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.331, allocations: 19.95 MB / 0.5306 GB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.3314, allocations: 10.62 kB / 0.5306 GB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.3321, allocations: 223.6 kB / 0.5308 GB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008509/0.3406, allocations: 2.923 MB / 0.5337 GB, free: 7.316 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.3462, allocations: 1.964 MB / 0.5356 GB, free: 6.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009516/0.3472, allocations: 1.139 MB / 0.5367 GB, free: 5.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.3475, allocations: 208.7 kB / 0.5369 GB, free: 5.762 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005724/0.348, allocations: 405.6 kB / 0.5373 GB, free: 5.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3483, allocations: 266.1 kB / 0.5375 GB, free: 5.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.3484, allocations: 15.94 kB / 0.5376 GB, free: 5.492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.3592, allocations: 6.861 MB / 0.5443 GB, free: 3.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.3594, allocations: 85.14 kB / 0.5443 GB, free: 3.816 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.3596, allocations: 224.3 kB / 0.5446 GB, free: 3.688 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009605/0.3692, allocations: 4.38 MB / 0.5488 GB, free: 2.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3693, allocations: 0 / 0.5488 GB, free: 2.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3693, allocations: 1.344 kB / 0.5488 GB, free: 2.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3693, allocations: 0 / 0.5488 GB, free: 2.562 MB / 378.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.003454/0.3727, allocations: 1.173 MB / 0.55 GB, free: 1.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3728, allocations: 16.53 kB / 0.55 GB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.3744, allocations: 223.3 kB / 0.5502 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.3748, allocations: 364 kB / 0.5506 GB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3748, allocations: 27.91 kB / 0.5506 GB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.3748, allocations: 26.62 kB / 0.5506 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.3763, allocations: 0.6194 MB / 0.5512 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3763, allocations: 3.031 kB / 0.5512 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3764, allocations: 10.97 kB / 0.5512 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3764, allocations: 9 kB / 0.5512 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.3779, allocations: 0.5921 MB / 0.5518 GB, free: 1.035 MB / 378.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.002758/0.3807, allocations: 2.644 MB / 0.5544 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.3822, allocations: 0.4952 MB / 0.5549 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.3828, allocations: 222 kB / 0.5551 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04647/0.4292, allocations: 24.42 MB / 0.5789 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4293, allocations: 39.06 kB / 0.579 GB, free: 10.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.905e-06/0.4293, allocations: 3.984 kB / 0.579 GB, free: 10.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.002831/0.4322, allocations: 0.8882 MB / 0.5798 GB, free: 9.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4322, allocations: 110.8 kB / 0.5799 GB, free: 9.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.4326, allocations: 316.4 kB / 0.5802 GB, free: 8.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4326, allocations: 29.7 kB / 0.5803 GB, free: 8.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4327, allocations: 204.2 kB / 0.5805 GB, free: 8.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.664e-05/0.4328, allocations: 90.73 kB / 0.5806 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.4328, allocations: 4 kB / 0.5806 GB, free: 8.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.433, allocations: 338.8 kB / 0.5809 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.4334, allocations: 171.7 kB / 0.581 GB, free: 8.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.4339, allocations: 255 kB / 0.5813 GB, free: 7.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.4347, allocations: 425 kB / 0.5817 GB, free: 7.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4348, allocations: 0 / 0.5817 GB, free: 7.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001018/0.4358, allocations: 472 kB / 0.5821 GB, free: 6.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4358, allocations: 16.02 kB / 0.5822 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4358, allocations: 4 kB / 0.5822 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4358, allocations: 4 kB / 0.5822 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.4362, allocations: 104.3 kB / 0.5823 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4363, allocations: 4 kB / 0.5823 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.4366, allocations: 75.58 kB / 0.5823 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.4367, allocations: 16 kB / 0.5824 GB, free: 6.625 MB / 410.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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.4369, allocations: 165.7 kB / 0.5825 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.437, allocations: 31.62 kB / 0.5825 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.4399, allocations: 1.955 MB / 0.5845 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.123e-05/0.4399, allocations: 31.89 kB / 0.5845 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.44, allocations: 7.922 kB / 0.5845 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.44, allocations: 4 kB / 0.5845 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4412, allocations: 1.019 MB / 0.5855 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4412, allocations: 0 / 0.5855 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.4416, allocations: 87.92 kB / 0.5856 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4416, allocations: 4 kB / 0.5856 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.4416, allocations: 8 kB / 0.5856 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4416, allocations: 7.875 kB / 0.5856 GB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4416, allocations: 4 kB / 0.5856 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4432, allocations: 1.124 MB / 0.5867 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.4435, allocations: 219.5 kB / 0.5869 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.4435, allocations: 8 kB / 0.5869 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4438, allocations: 47.91 kB / 0.587 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4439, allocations: 35.94 kB / 0.587 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.444, allocations: 8 kB / 0.587 GB, free: 1.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000398/0.4444, allocations: 327.1 kB / 0.5873 GB, free: 1.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4444, allocations: 0 / 0.5873 GB, free: 1.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005627/0.45, allocations: 0.9955 MB / 0.5883 GB, free: 460 kB / 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.005307/0.4553, allocations: 1.176 MB / 0.5894 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.4567, allocations: 0.6419 MB / 0.5901 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4567, allocations: 4 kB / 0.5901 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006895/0.4574, allocations: 0.5373 MB / 0.5906 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4585, allocations: 207.3 kB / 0.5908 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.4606, allocations: 1.898 MB / 0.5926 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.4611, allocations: 0.9638 MB / 0.5936 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.4616, allocations: 273.7 kB / 0.5938 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/0.4617, allocations: 47.42 kB / 0.5939 GB, free: 10.66 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4617, allocations: 0 / 0.5939 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Templates: time 0.04964/0.5113, allocations: 38.86 MB / 0.6318 GB, free: 3.859 MB / 458.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/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