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.00113/0.00113, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 45.92 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.0002711, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 63.46 MB / 481.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.02593/0.1341, allocations: 24.29 MB / 0.4938 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2369/0.371, allocations: 14.77 MB / 0.5083 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007085/0.3718, allocations: 14.19 kB / 0.5083 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3728, allocations: 261.7 kB / 0.5085 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.3831, allocations: 2.97 MB / 0.5114 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.3942, allocations: 3.008 MB / 0.5144 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.3959, allocations: 0.6061 MB / 0.515 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.3965, allocations: 241.1 kB / 0.5152 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.3979, allocations: 441.6 kB / 0.5156 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3983, allocations: 226 kB / 0.5158 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.3984, allocations: 18.16 kB / 0.5158 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02274/0.4212, allocations: 7.175 MB / 0.5228 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.4215, allocations: 97.02 kB / 0.5229 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.4219, allocations: 117.9 kB / 0.523 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009082/0.431, allocations: 3.079 MB / 0.5261 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.431, allocations: 0 / 0.5261 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.431, allocations: 3.984 kB / 0.5261 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.431, allocations: 0 / 0.5261 GB, free: 10.09 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.004604/0.4356, allocations: 1.245 MB / 0.5273 GB, free: 9.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4357, allocations: 9.812 kB / 0.5273 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.4376, allocations: 248.9 kB / 0.5275 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.4381, allocations: 387.1 kB / 0.5279 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.4381, allocations: 28.81 kB / 0.5279 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.4382, allocations: 34.83 kB / 0.528 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.4396, allocations: 0.6337 MB / 0.5286 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4397, allocations: 1.656 kB / 0.5286 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.4397, allocations: 14.56 kB / 0.5286 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4397, allocations: 9.031 kB / 0.5286 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.4412, allocations: 0.5909 MB / 0.5292 GB, free: 8.477 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.002802/0.444, allocations: 2.758 MB / 0.5319 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.4458, allocations: 0.5948 MB / 0.5324 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0497/0.4955, allocations: 26.98 MB / 0.5588 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4956, allocations: 41.69 kB / 0.5588 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.4956, allocations: 0 / 0.5588 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.002688/0.4983, allocations: 0.8532 MB / 0.5597 GB, free: 12.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.4983, allocations: 108.6 kB / 0.5598 GB, free: 11.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.4988, allocations: 400 kB / 0.5602 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.4988, allocations: 30.33 kB / 0.5602 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.499, allocations: 226.9 kB / 0.5604 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.4991, allocations: 97.5 kB / 0.5605 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.4991, allocations: 5.125 kB / 0.5605 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4992, allocations: 348.5 kB / 0.5608 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.4996, allocations: 162.9 kB / 0.561 GB, free: 10.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.5001, allocations: 298.6 kB / 0.5613 GB, free: 10.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.5005, allocations: 184.8 kB / 0.5614 GB, free: 10.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5005, allocations: 11.95 kB / 0.5615 GB, free: 10.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001034/0.5016, allocations: 0.4977 MB / 0.5619 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005034/0.5021, allocations: 1.398 MB / 0.5633 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5021, allocations: 4 kB / 0.5633 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5021, allocations: 8 kB / 0.5633 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.5025, allocations: 105.9 kB / 0.5634 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5025, allocations: 6.625 kB / 0.5634 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.503, allocations: 80.97 kB / 0.5635 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.503, allocations: 22.3 kB / 0.5635 GB, free: 8.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.503, allocations: 4 kB / 0.5635 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000916/0.504, allocations: 443.5 kB / 0.564 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.504, allocations: 11.97 kB / 0.564 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.504, allocations: 4 kB / 0.564 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.5043, allocations: 105.3 kB / 0.5641 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5044, allocations: 15.08 kB / 0.5641 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.5047, allocations: 70.44 kB / 0.5641 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.5048, allocations: 14.38 kB / 0.5642 GB, free: 7.918 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 (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 (44): * Single equations (assignments): 44 * 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.0002528/0.505, allocations: 252 kB / 0.5644 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.5051, allocations: 39.53 kB / 0.5644 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.5074, allocations: 1.98 MB / 0.5664 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.5075, allocations: 29.95 kB / 0.5664 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5075, allocations: 0 / 0.5664 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5075, allocations: 7.984 kB / 0.5664 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.5086, allocations: 1.074 MB / 0.5675 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5086, allocations: 0 / 0.5675 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.509, allocations: 81.28 kB / 0.5675 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.509, allocations: 4 kB / 0.5675 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.509, allocations: 10.31 kB / 0.5676 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.509, allocations: 4 kB / 0.5676 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.509, allocations: 0 / 0.5676 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.5104, allocations: 1.132 MB / 0.5687 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.5107, allocations: 280.6 kB / 0.5689 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.5108, allocations: 3.625 kB / 0.5689 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.5111, allocations: 43.59 kB / 0.569 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.5112, allocations: 29.89 kB / 0.569 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5113, allocations: 15.23 kB / 0.569 GB, free: 4.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.5117, allocations: 380.8 kB / 0.5694 GB, free: 3.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5117, allocations: 0 / 0.5694 GB, free: 3.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003826/0.5156, allocations: 1.153 MB / 0.5705 GB, free: 2.898 MB / 414.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 (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.005018/0.5206, allocations: 1.223 MB / 0.5717 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.5223, allocations: 0.8735 MB / 0.5726 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5223, allocations: 0 / 0.5726 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.523, allocations: 0.5318 MB / 0.5731 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5242, allocations: 216.7 kB / 0.5733 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.5266, allocations: 2.018 MB / 0.5752 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.5271, allocations: 1.007 MB / 0.5762 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009273/0.528, allocations: 0.6144 MB / 0.5768 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.5281, allocations: 57.92 kB / 0.5769 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 4.7e-07/0.5281, allocations: 0 / 0.5769 GB, free: 13.25 MB / 430.1 MB Notification: Performance of Templates: time 0.05514/0.5833, allocations: 40.77 MB / 0.6167 GB, free: 4.68 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches