Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 111.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 186.1 kB / 19.38 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3197, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.02948/0.3492, allocations: 28.67 MB / 0.5476 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.3703, allocations: 16.95 MB / 0.5641 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007473/0.371, allocations: 15.88 kB / 0.5641 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.372, allocations: 258.3 kB / 0.5644 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.3836, allocations: 3.818 MB / 0.5681 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007487/0.3911, allocations: 2.66 MB / 0.5707 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3925, allocations: 1.006 MB / 0.5717 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005415/0.3931, allocations: 293.5 kB / 0.572 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.3942, allocations: 490 kB / 0.5724 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.3947, allocations: 310.7 kB / 0.5727 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.3948, allocations: 36 kB / 0.5728 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0156/0.4104, allocations: 7.395 MB / 0.58 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.4107, allocations: 107.7 kB / 0.5801 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.4112, allocations: 266.7 kB / 0.5804 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4228, allocations: 4.6 MB / 0.5848 GB, free: 9.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4228, allocations: 0 / 0.5848 GB, free: 9.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4229, allocations: 0 / 0.5848 GB, free: 9.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.4229, allocations: 0 / 0.5848 GB, free: 9.074 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00359/0.4265, allocations: 1.341 MB / 0.5862 GB, free: 7.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4265, allocations: 8.031 kB / 0.5862 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.4285, allocations: 236 kB / 0.5864 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.4293, allocations: 411.5 kB / 0.5868 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.4293, allocations: 29 kB / 0.5868 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.4294, allocations: 32 kB / 0.5868 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.4313, allocations: 0.6532 MB / 0.5875 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4313, allocations: 0 / 0.5875 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.4314, allocations: 15.94 kB / 0.5875 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4314, allocations: 8 kB / 0.5875 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.4334, allocations: 0.6191 MB / 0.5881 GB, free: 5.609 MB / 446.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.003535/0.437, allocations: 2.833 MB / 0.5909 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.4389, allocations: 0.4905 MB / 0.5913 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.4395, allocations: 200.7 kB / 0.5915 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0497/0.4892, allocations: 24.43 MB / 0.6154 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.4893, allocations: 38.56 kB / 0.6154 GB, free: 6.434 MB / 478.1 MB Notification: Performance of pre-optimization done (n=27): time 3.226e-06/0.4893, allocations: 0 / 0.6154 GB, free: 6.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=27): time 0.003452/0.4928, allocations: 0.8441 MB / 0.6163 GB, free: 5.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.4928, allocations: 110.8 kB / 0.6164 GB, free: 5.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.4933, allocations: 377.5 kB / 0.6167 GB, free: 5.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.4934, allocations: 29.7 kB / 0.6168 GB, free: 5.035 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4936, allocations: 228.1 kB / 0.617 GB, free: 4.805 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.4936, allocations: 90.64 kB / 0.6171 GB, free: 4.715 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4938, allocations: 78 kB / 0.6171 GB, free: 4.633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4939, allocations: 354.7 kB / 0.6175 GB, free: 4.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.4945, allocations: 170 kB / 0.6176 GB, free: 4.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/0.4952, allocations: 265.2 kB / 0.6179 GB, free: 3.809 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4963, allocations: 402 kB / 0.6183 GB, free: 3.379 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4964, allocations: 0 / 0.6183 GB, free: 3.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00142/0.4978, allocations: 0.4899 MB / 0.6187 GB, free: 2.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4978, allocations: 8 kB / 0.6188 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4978, allocations: 0 / 0.6188 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.4979, allocations: 12 kB / 0.6188 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.4983, allocations: 108.1 kB / 0.6189 GB, free: 2.758 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4983, allocations: 11.88 kB / 0.6189 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.4988, allocations: 63.55 kB / 0.6189 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.4988, allocations: 19.98 kB / 0.619 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006687/0.4995, allocations: 292.2 kB / 0.6192 GB, free: 2.375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000615/0.5001, allocations: 260.5 kB / 0.6195 GB, free: 2.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001102/0.5013, allocations: 398 kB / 0.6199 GB, free: 1.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.5013, allocations: 0 / 0.6199 GB, free: 1.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001374/0.5027, allocations: 485.2 kB / 0.6203 GB, free: 1.172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.5027, allocations: 12 kB / 0.6203 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5027, allocations: 4 kB / 0.6203 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.5027, allocations: 4 kB / 0.6204 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.5032, allocations: 99.86 kB / 0.6204 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.5032, allocations: 4 kB / 0.6204 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.5036, allocations: 63.64 kB / 0.6205 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.5036, allocations: 19.98 kB / 0.6205 GB, free: 0.9688 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001695/0.5038, allocations: 208.1 kB / 0.6207 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.5039, allocations: 39.53 kB / 0.6208 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.5067, allocations: 1.941 MB / 0.6227 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.5067, allocations: 7.984 kB / 0.6227 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5067, allocations: 0 / 0.6227 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.507, allocations: 207.6 kB / 0.6229 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.5071, allocations: 27.69 kB / 0.6229 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.5075, allocations: 51.94 kB / 0.6229 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.5076, allocations: 39.89 kB / 0.623 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001962/0.5096, allocations: 1.137 MB / 0.6241 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00185/0.5115, allocations: 1.211 MB / 0.6253 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007963/0.5123, allocations: 0.518 MB / 0.6258 GB, free: 11.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004508/0.5127, allocations: 378.8 kB / 0.6261 GB, free: 11.16 MB / 494.1 MB Notification: Performance of Backend: time 6.11e-07/0.5128, allocations: 0 / 0.6261 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007561/0.5203, allocations: 1.986 MB / 0.6281 GB, free: 9.18 MB / 494.1 MB Notification: Performance of SimCode: time 0.002208/0.5226, allocations: 1.701 MB / 0.6297 GB, free: 7.434 MB / 494.1 MB Notification: Performance of Templates: time 0.06416/0.5867, allocations: 46.91 MB / 0.6755 GB, free: 8.582 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches