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.001262/0.001262, allocations: 111.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2962/0.2962, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 83.86 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.351, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03022/0.3813, allocations: 28.79 MB / 0.5598 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.4026, allocations: 16.94 MB / 0.5763 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006246/0.4032, allocations: 19.88 kB / 0.5763 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.4042, allocations: 258.3 kB / 0.5766 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.4178, allocations: 3.83 MB / 0.5803 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009833/0.4276, allocations: 2.571 MB / 0.5828 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.4293, allocations: 1.002 MB / 0.5838 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.43, allocations: 297.5 kB / 0.5841 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.4312, allocations: 490 kB / 0.5846 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.4318, allocations: 306.6 kB / 0.5849 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.4319, allocations: 43.94 kB / 0.5849 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/0.4471, allocations: 7.401 MB / 0.5921 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.4473, allocations: 111.6 kB / 0.5922 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.4478, allocations: 258.8 kB / 0.5925 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.4588, allocations: 4.604 MB / 0.597 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4588, allocations: 0 / 0.597 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4588, allocations: 4 kB / 0.597 GB, free: 14.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.4589, allocations: 0 / 0.597 GB, free: 14.66 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.0037/0.4626, allocations: 1.333 MB / 0.5983 GB, free: 13.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4626, allocations: 8.031 kB / 0.5983 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.4647, allocations: 240.1 kB / 0.5985 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.4654, allocations: 419.4 kB / 0.5989 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.4654, allocations: 28.66 kB / 0.5989 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.4655, allocations: 32 kB / 0.599 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.4672, allocations: 0.6253 MB / 0.5996 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4672, allocations: 0 / 0.5996 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.4673, allocations: 15.94 kB / 0.5996 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.4673, allocations: 8 kB / 0.5996 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.469, allocations: 0.5645 MB / 0.6002 GB, free: 11.27 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.003435/0.4725, allocations: 2.738 MB / 0.6028 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.4744, allocations: 0.5396 MB / 0.6034 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.4749, allocations: 204.7 kB / 0.6036 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05447/0.5293, allocations: 26.88 MB / 0.6298 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.5294, allocations: 34.56 kB / 0.6298 GB, free: 9.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.557e-06/0.5294, allocations: 0 / 0.6298 GB, free: 9.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.003115/0.5326, allocations: 0.8129 MB / 0.6306 GB, free: 8.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.5326, allocations: 110.7 kB / 0.6307 GB, free: 8.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.5332, allocations: 397.8 kB / 0.6311 GB, free: 7.871 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.5333, allocations: 33.7 kB / 0.6311 GB, free: 7.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.5335, allocations: 224.2 kB / 0.6314 GB, free: 7.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.5336, allocations: 102.5 kB / 0.6315 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.5338, allocations: 85.67 kB / 0.6315 GB, free: 7.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5339, allocations: 350.7 kB / 0.6319 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.5344, allocations: 160.8 kB / 0.632 GB, free: 6.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.5349, allocations: 284.3 kB / 0.6323 GB, free: 6.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.5358, allocations: 425.3 kB / 0.6327 GB, free: 6.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.5358, allocations: 4 kB / 0.6327 GB, free: 6.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001153/0.537, allocations: 0.4892 MB / 0.6332 GB, free: 5.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.537, allocations: 8 kB / 0.6332 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.537, allocations: 4 kB / 0.6332 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.537, allocations: 4 kB / 0.6332 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.5374, allocations: 103.8 kB / 0.6333 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.795e-05/0.5375, allocations: 8 kB / 0.6333 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.5379, allocations: 51.56 kB / 0.6334 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.5379, allocations: 24.09 kB / 0.6334 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000504/0.5384, allocations: 268 kB / 0.6336 GB, free: 5.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004741/0.5389, allocations: 275.3 kB / 0.6339 GB, free: 4.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008117/0.5397, allocations: 409.4 kB / 0.6343 GB, free: 4.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.5398, allocations: 0 / 0.6343 GB, free: 4.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001115/0.5409, allocations: 489 kB / 0.6348 GB, free: 3.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5409, allocations: 4 kB / 0.6348 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5409, allocations: 4 kB / 0.6348 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.5409, allocations: 8 kB / 0.6348 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.5413, allocations: 91.88 kB / 0.6349 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.5413, allocations: 11.98 kB / 0.6349 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.5417, allocations: 55.94 kB / 0.6349 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.5417, allocations: 23.88 kB / 0.6349 GB, free: 3.691 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.0001784/0.5419, allocations: 204.1 kB / 0.6351 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.542, allocations: 47.53 kB / 0.6352 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.5446, allocations: 1.947 MB / 0.6371 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5446, allocations: 3.984 kB / 0.6371 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.5446, allocations: 0 / 0.6371 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.545, allocations: 215.6 kB / 0.6373 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5451, allocations: 23.69 kB / 0.6373 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.5454, allocations: 39.95 kB / 0.6374 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5456, allocations: 44.19 kB / 0.6374 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001569/0.5472, allocations: 1.103 MB / 0.6385 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001547/0.5487, allocations: 1.183 MB / 0.6396 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006292/0.5494, allocations: 0.491 MB / 0.6401 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005043/0.5499, allocations: 382.8 kB / 0.6405 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of Backend: time 3.5e-07/0.5499, allocations: 0 / 0.6405 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007581/0.5575, allocations: 1.975 MB / 0.6424 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002502/0.56, allocations: 1.75 MB / 0.6441 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.0722/0.6322, allocations: 46.82 MB / 0.6898 GB, free: 11.41 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