Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008788/0.0008791, allocations: 95.48 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 207.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 46.18 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03006/0.15, allocations: 28.94 MB / 0.5007 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2789/0.429, allocations: 18.03 MB / 0.5183 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.4297, allocations: 15.09 kB / 0.5183 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.4305, allocations: 224.7 kB / 0.5185 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.4426, allocations: 3.053 MB / 0.5215 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007136/0.4498, allocations: 2.137 MB / 0.5236 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.4517, allocations: 1.241 MB / 0.5248 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.4522, allocations: 244 kB / 0.525 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009636/0.4532, allocations: 438.4 kB / 0.5254 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.4536, allocations: 306.6 kB / 0.5257 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.4537, allocations: 16.94 kB / 0.5257 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.4718, allocations: 7.302 MB / 0.5329 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.4721, allocations: 93.84 kB / 0.533 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.4725, allocations: 257.4 kB / 0.5332 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00714/0.4797, allocations: 3.12 MB / 0.5362 GB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4797, allocations: 0 / 0.5362 GB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4797, allocations: 0 / 0.5362 GB, free: 7.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4797, allocations: 0 / 0.5362 GB, free: 7.414 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00377/0.4835, allocations: 1.248 MB / 0.5375 GB, free: 6.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4835, allocations: 14.16 kB / 0.5375 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.4853, allocations: 246.7 kB / 0.5377 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.4858, allocations: 393.1 kB / 0.5381 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.4858, allocations: 33.81 kB / 0.5381 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.4859, allocations: 31.81 kB / 0.5381 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.4873, allocations: 0.6395 MB / 0.5388 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4873, allocations: 6.969 kB / 0.5388 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.4874, allocations: 15.38 kB / 0.5388 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4874, allocations: 9.875 kB / 0.5388 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.4888, allocations: 0.5937 MB / 0.5394 GB, free: 5.332 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.002737/0.4916, allocations: 2.761 MB / 0.5421 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.4934, allocations: 0.5825 MB / 0.5426 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.4938, allocations: 204 kB / 0.5428 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05178/0.5456, allocations: 27 MB / 0.5692 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.5457, allocations: 38.56 kB / 0.5692 GB, free: 5.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.5457, allocations: 0 / 0.5692 GB, free: 5.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.002974/0.5487, allocations: 0.8548 MB / 0.5701 GB, free: 4.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.5488, allocations: 106.8 kB / 0.5702 GB, free: 4.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/0.5493, allocations: 405.8 kB / 0.5706 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.5494, allocations: 29.7 kB / 0.5706 GB, free: 4.414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.5496, allocations: 230.9 kB / 0.5708 GB, free: 4.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5497, allocations: 94.17 kB / 0.5709 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.5498, allocations: 45.62 kB / 0.571 GB, free: 4.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5499, allocations: 350.8 kB / 0.5713 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.5503, allocations: 167.9 kB / 0.5714 GB, free: 3.531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.5508, allocations: 292.4 kB / 0.5717 GB, free: 3.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008605/0.5517, allocations: 449.8 kB / 0.5722 GB, free: 2.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5517, allocations: 0 / 0.5722 GB, free: 2.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00115/0.5529, allocations: 0.5206 MB / 0.5727 GB, free: 2.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.553, allocations: 190.2 kB / 0.5728 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5531, allocations: 4 kB / 0.5728 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.5531, allocations: 11.94 kB / 0.5729 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.5535, allocations: 103.9 kB / 0.573 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5535, allocations: 4 kB / 0.573 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.554, allocations: 75.5 kB / 0.573 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.554, allocations: 27.92 kB / 0.5731 GB, free: 1.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5541, allocations: 4 kB / 0.5731 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009764/0.555, allocations: 447.5 kB / 0.5735 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5551, allocations: 3.938 kB / 0.5735 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.5551, allocations: 12.31 kB / 0.5735 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.5554, allocations: 103.8 kB / 0.5736 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5555, allocations: 7.984 kB / 0.5736 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.5559, allocations: 67.66 kB / 0.5737 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.5559, allocations: 20 kB / 0.5737 GB, free: 1.066 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.0002628/0.5562, allocations: 245.5 kB / 0.5739 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.5563, allocations: 47.38 kB / 0.574 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.5588, allocations: 1.969 MB / 0.5759 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.5588, allocations: 31.95 kB / 0.5759 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5588, allocations: 3.938 kB / 0.5759 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5588, allocations: 3.984 kB / 0.5759 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.5599, allocations: 1.077 MB / 0.577 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.56, allocations: 2.188 kB / 0.577 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.5603, allocations: 87.88 kB / 0.5771 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5603, allocations: 0 / 0.5771 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.5604, allocations: 8 kB / 0.5771 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5604, allocations: 4 kB / 0.5771 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5604, allocations: 4 kB / 0.5771 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.5618, allocations: 1.143 MB / 0.5782 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.5622, allocations: 275.3 kB / 0.5785 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.5622, allocations: 8 kB / 0.5785 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.5626, allocations: 39.88 kB / 0.5785 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5627, allocations: 31.95 kB / 0.5785 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.5627, allocations: 15.98 kB / 0.5786 GB, free: 12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004609/0.5632, allocations: 382.8 kB / 0.5789 GB, free: 11.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5632, allocations: 0 / 0.5789 GB, free: 11.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004469/0.5677, allocations: 1.14 MB / 0.58 GB, free: 10.49 MB / 430.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,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.005959/0.5737, allocations: 1.232 MB / 0.5812 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.5755, allocations: 0.8864 MB / 0.5821 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5755, allocations: 0 / 0.5821 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.5762, allocations: 0.53 MB / 0.5826 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5777, allocations: 226 kB / 0.5828 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.5803, allocations: 2.087 MB / 0.5849 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5808, allocations: 0.9874 MB / 0.5858 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.5809, allocations: 55.41 kB / 0.5859 GB, free: 4.523 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5809, allocations: 0 / 0.5859 GB, free: 4.523 MB / 430.1 MB Notification: Performance of Templates: time 0.04043/0.6214, allocations: 25.4 MB / 0.6107 GB, free: 11.15 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches