Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008536/0.0008536, allocations: 95.8 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.001198/0.001198, allocations: 208.3 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.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.18 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002748, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4068/0.5183, allocations: 181.6 MB / 0.6497 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.5244, allocations: 3.34 MB / 0.653 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008255/0.5253, allocations: 23.81 kB / 0.653 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.5264, allocations: 270.5 kB / 0.6533 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.5304, allocations: 1.231 MB / 0.6545 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.5324, allocations: 0.6607 MB / 0.6551 GB, free: 9.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002681/0.5351, allocations: 2.047 MB / 0.6571 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009159/0.5361, allocations: 376.8 kB / 0.6575 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.5373, allocations: 0.5213 MB / 0.658 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.5382, allocations: 470 kB / 0.6584 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.5384, allocations: 28 kB / 0.6585 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.5409, allocations: 1.111 MB / 0.6596 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.5411, allocations: 139.5 kB / 0.6597 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.5417, allocations: 356.1 kB / 0.66 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.5434, allocations: 1.06 MB / 0.6611 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5434, allocations: 0 / 0.6611 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5434, allocations: 0 / 0.6611 GB, free: 3.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.5435, allocations: 0 / 0.6611 GB, free: 3.285 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00203/0.5455, allocations: 0.9232 MB / 0.662 GB, free: 2.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5455, allocations: 11.97 kB / 0.662 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.5466, allocations: 139.2 kB / 0.6621 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.5474, allocations: 476.4 kB / 0.6626 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.5475, allocations: 33 kB / 0.6626 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.5476, allocations: 43.94 kB / 0.6626 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.5488, allocations: 0.5984 MB / 0.6632 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5488, allocations: 0 / 0.6632 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.5489, allocations: 27.98 kB / 0.6633 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.5489, allocations: 8 kB / 0.6633 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009989/0.5499, allocations: 499.5 kB / 0.6637 GB, free: 432 kB / 494.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.003116/0.553, allocations: 2.67 MB / 0.6663 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.5538, allocations: 347.5 kB / 0.6667 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.5542, allocations: 177.3 kB / 0.6668 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.5546, allocations: 445.8 kB / 0.6673 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5547, allocations: 38.84 kB / 0.6673 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.546e-06/0.5547, allocations: 3.984 kB / 0.6673 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001831/0.5565, allocations: 0.7499 MB / 0.668 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.5566, allocations: 140.5 kB / 0.6682 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.5573, allocations: 494 kB / 0.6686 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.5573, allocations: 29.7 kB / 0.6687 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.5576, allocations: 291.8 kB / 0.669 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.5577, allocations: 106.3 kB / 0.6691 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.5578, allocations: 41.69 kB / 0.6691 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5579, allocations: 362.8 kB / 0.6694 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.5582, allocations: 156.8 kB / 0.6696 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.5586, allocations: 279.7 kB / 0.6699 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.5594, allocations: 453.6 kB / 0.6703 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5594, allocations: 0 / 0.6703 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001182/0.5606, allocations: 0.5564 MB / 0.6708 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5606, allocations: 19.94 kB / 0.6709 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5607, allocations: 4 kB / 0.6709 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.5623, allocations: 285.4 kB / 0.6711 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.5627, allocations: 107.9 kB / 0.6712 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000537/0.5632, allocations: 0.5991 MB / 0.6718 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.5637, allocations: 67.58 kB / 0.6719 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.5638, allocations: 43.98 kB / 0.6719 GB, free: 7.465 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002839/0.5641, allocations: 185.6 kB / 0.6721 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5642, allocations: 63.22 kB / 0.6722 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.5664, allocations: 1.103 MB / 0.6732 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.5664, allocations: 4 kB / 0.6732 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5664, allocations: 0 / 0.6732 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5664, allocations: 0 / 0.6732 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.5681, allocations: 1.048 MB / 0.6743 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5681, allocations: 0 / 0.6743 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.5683, allocations: 55.91 kB / 0.6743 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00348/0.5718, allocations: 0.5433 MB / 0.6749 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.5719, allocations: 8 kB / 0.6749 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005134/0.5724, allocations: 0.6109 MB / 0.6755 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5724, allocations: 3.938 kB / 0.6755 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.5734, allocations: 0.5194 MB / 0.676 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.5737, allocations: 164.2 kB / 0.6761 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5738, allocations: 8 kB / 0.6761 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.5743, allocations: 39.91 kB / 0.6762 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.5744, allocations: 31.84 kB / 0.6762 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.5744, allocations: 19.98 kB / 0.6762 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006049/0.575, allocations: 426.8 kB / 0.6766 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.575, allocations: 0 / 0.6766 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009744/0.576, allocations: 279.8 kB / 0.6769 GB, free: 2.184 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.5771, allocations: 373.8 kB / 0.6772 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009431/0.578, allocations: 385.1 kB / 0.6776 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.578, allocations: 0 / 0.6776 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.5784, allocations: 177.2 kB / 0.6778 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.5805, allocations: 337.8 kB / 0.6781 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.5824, allocations: 1.154 MB / 0.6792 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.5829, allocations: 0.8634 MB / 0.6801 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.5833, allocations: 123.4 kB / 0.6802 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.5834, allocations: 3.938 kB / 0.6802 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.02321/0.6066, allocations: 14.59 MB / 0.6944 GB, free: 196 kB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches