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.001075/0.001075, allocations: 112.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 71.89 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3359, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03051/0.3664, allocations: 28.78 MB / 0.5598 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0211/0.3875, allocations: 16.95 MB / 0.5763 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.3882, allocations: 15.88 kB / 0.5763 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007739/0.3891, allocations: 262.3 kB / 0.5766 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.4, allocations: 3.82 MB / 0.5803 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007113/0.4071, allocations: 2.562 MB / 0.5828 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.4085, allocations: 1.01 MB / 0.5838 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.4089, allocations: 285.5 kB / 0.5841 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008592/0.4098, allocations: 498 kB / 0.5845 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.4102, allocations: 306.7 kB / 0.5848 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.4103, allocations: 40 kB / 0.5849 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/0.424, allocations: 7.399 MB / 0.5921 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.4242, allocations: 111.6 kB / 0.5922 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.4246, allocations: 254.8 kB / 0.5925 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.4365, allocations: 4.604 MB / 0.597 GB, free: 14.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4366, allocations: 0 / 0.597 GB, free: 14.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4366, allocations: 0 / 0.597 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4366, allocations: 0 / 0.597 GB, free: 14.71 MB / 462.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.00331/0.4399, allocations: 1.337 MB / 0.5983 GB, free: 13.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4399, allocations: 8.031 kB / 0.5983 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.4418, allocations: 240.1 kB / 0.5985 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.4425, allocations: 415.4 kB / 0.5989 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.4425, allocations: 24.66 kB / 0.5989 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.4426, allocations: 36 kB / 0.5989 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.4441, allocations: 0.6253 MB / 0.5996 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4442, allocations: 0 / 0.5996 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.4442, allocations: 16 kB / 0.5996 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.4442, allocations: 8 kB / 0.5996 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.4458, allocations: 0.5605 MB / 0.6001 GB, free: 11.32 MB / 462.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.003188/0.449, allocations: 2.746 MB / 0.6028 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.4509, allocations: 0.5357 MB / 0.6033 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.4513, allocations: 196.7 kB / 0.6035 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05046/0.5017, allocations: 26.88 MB / 0.6298 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5018, allocations: 38.56 kB / 0.6298 GB, free: 9.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/0.5018, allocations: 0 / 0.6298 GB, free: 9.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002915/0.5047, allocations: 0.8128 MB / 0.6306 GB, free: 8.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.5048, allocations: 110.8 kB / 0.6307 GB, free: 8.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.5053, allocations: 393.8 kB / 0.6311 GB, free: 7.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.5054, allocations: 33.7 kB / 0.6311 GB, free: 7.879 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.5056, allocations: 228.1 kB / 0.6313 GB, free: 7.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.5057, allocations: 106.5 kB / 0.6314 GB, free: 7.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.5058, allocations: 85.67 kB / 0.6315 GB, free: 7.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5059, allocations: 350.8 kB / 0.6319 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.5063, allocations: 160.8 kB / 0.632 GB, free: 6.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.5068, allocations: 292.2 kB / 0.6323 GB, free: 6.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.5077, allocations: 417.4 kB / 0.6327 GB, free: 6.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.5077, allocations: 4 kB / 0.6327 GB, free: 6.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001094/0.5088, allocations: 0.4927 MB / 0.6332 GB, free: 5.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5088, allocations: 8.469 kB / 0.6332 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5088, allocations: 4 kB / 0.6332 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5089, allocations: 8 kB / 0.6332 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.5093, allocations: 99.86 kB / 0.6333 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.5093, allocations: 11.94 kB / 0.6333 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.5096, allocations: 51.56 kB / 0.6333 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.5097, allocations: 20 kB / 0.6334 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004692/0.5102, allocations: 272 kB / 0.6336 GB, free: 5.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000439/0.5106, allocations: 275.3 kB / 0.6339 GB, free: 4.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007563/0.5114, allocations: 405.4 kB / 0.6343 GB, free: 4.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.5114, allocations: 0 / 0.6343 GB, free: 4.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001035/0.5124, allocations: 493.2 kB / 0.6347 GB, free: 3.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.5125, allocations: 4 kB / 0.6347 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5125, allocations: 7.938 kB / 0.6348 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.5125, allocations: 8 kB / 0.6348 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5129, allocations: 91.88 kB / 0.6348 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.5129, allocations: 15.92 kB / 0.6349 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.5132, allocations: 47.66 kB / 0.6349 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.5132, allocations: 24.03 kB / 0.6349 GB, free: 3.727 MB / 494.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.0001497/0.5134, allocations: 208.1 kB / 0.6351 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.5135, allocations: 43.53 kB / 0.6352 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.5158, allocations: 1.946 MB / 0.6371 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5159, allocations: 3.984 kB / 0.6371 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5159, allocations: 4 kB / 0.6371 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.5161, allocations: 211.7 kB / 0.6373 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.5162, allocations: 23.69 kB / 0.6373 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.5166, allocations: 43.95 kB / 0.6373 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.5167, allocations: 40.2 kB / 0.6374 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001475/0.5181, allocations: 1.107 MB / 0.6385 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001425/0.5196, allocations: 1.175 MB / 0.6396 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006109/0.5202, allocations: 0.4949 MB / 0.6401 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004329/0.5206, allocations: 382.8 kB / 0.6405 GB, free: 14 MB / 0.4981 GB Notification: Performance of Backend: time 4.91e-07/0.5207, allocations: 0 / 0.6405 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006773/0.5274, allocations: 1.978 MB / 0.6424 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002203/0.5296, allocations: 1.739 MB / 0.6441 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.0641/0.5938, allocations: 47.18 MB / 0.6902 GB, free: 11.1 MB / 0.545 GB 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