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.001098/0.001098, allocations: 100.3 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001308, allocations: 198.1 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.2 MB / 245.9 MB, free: 10.35 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: 45.92 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.0002915, allocations: 11.98 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 63.46 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4646/0.6011, allocations: 147.1 MB / 0.6137 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.6073, allocations: 3.832 MB / 0.6175 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006775/0.608, allocations: 23.81 kB / 0.6175 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009655/0.609, allocations: 250.7 kB / 0.6177 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.6125, allocations: 1.091 MB / 0.6188 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.6143, allocations: 0.605 MB / 0.6194 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.6162, allocations: 0.9223 MB / 0.6203 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.6173, allocations: 359.4 kB / 0.6206 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.619, allocations: 0.4907 MB / 0.6211 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.6199, allocations: 338.7 kB / 0.6214 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.6201, allocations: 28 kB / 0.6215 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.6229, allocations: 1.038 MB / 0.6225 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.6232, allocations: 127.5 kB / 0.6226 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.6235, allocations: 145.4 kB / 0.6227 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.6259, allocations: 1.012 MB / 0.6237 GB, free: 8.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6259, allocations: 3.938 kB / 0.6237 GB, free: 8.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6259, allocations: 0 / 0.6237 GB, free: 8.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.626, allocations: 0 / 0.6237 GB, free: 8.18 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002711/0.6287, allocations: 0.9116 MB / 0.6246 GB, free: 7.219 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.6288, allocations: 8.031 kB / 0.6246 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.6303, allocations: 143 kB / 0.6248 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.6317, allocations: 460.8 kB / 0.6252 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.6317, allocations: 37 kB / 0.6252 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.6319, allocations: 40 kB / 0.6253 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.6336, allocations: 0.5867 MB / 0.6259 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6336, allocations: 7.938 kB / 0.6259 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6337, allocations: 23.98 kB / 0.6259 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.6337, allocations: 12 kB / 0.6259 GB, free: 5.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.6348, allocations: 491.5 kB / 0.6264 GB, free: 5.355 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.004142/0.639, allocations: 2.663 MB / 0.629 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.6397, allocations: 355.4 kB / 0.6293 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.6402, allocations: 441.8 kB / 0.6297 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.6403, allocations: 38.83 kB / 0.6298 GB, free: 1.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.6403, allocations: 0 / 0.6298 GB, free: 1.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001823/0.6421, allocations: 0.7433 MB / 0.6305 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.6422, allocations: 140.4 kB / 0.6306 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.6429, allocations: 490.1 kB / 0.6311 GB, free: 124 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.6429, allocations: 33.7 kB / 0.6311 GB, free: 84 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.6432, allocations: 283.8 kB / 0.6314 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.6433, allocations: 122.2 kB / 0.6315 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.6434, allocations: 4 kB / 0.6315 GB, free: 15.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6435, allocations: 366.8 kB / 0.6319 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.6439, allocations: 152.8 kB / 0.632 GB, free: 15.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.6443, allocations: 283.7 kB / 0.6323 GB, free: 14.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.6447, allocations: 189 kB / 0.6325 GB, free: 14.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6447, allocations: 4 kB / 0.6325 GB, free: 14.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001044/0.6457, allocations: 0.5527 MB / 0.633 GB, free: 14.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6458, allocations: 7.953 kB / 0.633 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6458, allocations: 7.984 kB / 0.633 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.6474, allocations: 296.9 kB / 0.6333 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.6477, allocations: 99.89 kB / 0.6334 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004455/0.6482, allocations: 0.6069 MB / 0.634 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.6486, allocations: 60.38 kB / 0.634 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.6487, allocations: 44 kB / 0.6341 GB, free: 12.93 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002754/0.649, allocations: 185.8 kB / 0.6343 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6491, allocations: 55.34 kB / 0.6343 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.6511, allocations: 1.12 MB / 0.6354 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6511, allocations: 0 / 0.6354 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6511, allocations: 0 / 0.6354 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6511, allocations: 4 kB / 0.6354 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.6526, allocations: 1.018 MB / 0.6364 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6526, allocations: 4 kB / 0.6364 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.6528, allocations: 56.12 kB / 0.6365 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/0.6561, allocations: 0.5353 MB / 0.637 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.6562, allocations: 12 kB / 0.637 GB, free: 9.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000495/0.6567, allocations: 0.6069 MB / 0.6376 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6567, allocations: 8.156 kB / 0.6376 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/0.6576, allocations: 0.576 MB / 0.6382 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.6578, allocations: 148.3 kB / 0.6383 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6579, allocations: 12 kB / 0.6383 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.6583, allocations: 35.92 kB / 0.6384 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.6584, allocations: 27.91 kB / 0.6384 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.6584, allocations: 20 kB / 0.6384 GB, free: 8.293 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005221/0.6589, allocations: 394.8 kB / 0.6388 GB, free: 7.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.659, allocations: 0 / 0.6388 GB, free: 7.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009149/0.6599, allocations: 287.6 kB / 0.639 GB, free: 7.629 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009617/0.6608, allocations: 379.9 kB / 0.6394 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009072/0.6618, allocations: 379.7 kB / 0.6398 GB, free: 6.887 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6618, allocations: 0 / 0.6398 GB, free: 6.887 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.6621, allocations: 181.3 kB / 0.6399 GB, free: 6.711 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.6635, allocations: 266 kB / 0.6402 GB, free: 6.453 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.6651, allocations: 1.097 MB / 0.6413 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.6656, allocations: 0.8711 MB / 0.6421 GB, free: 4.414 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.6668, allocations: 0.5529 MB / 0.6427 GB, free: 3.867 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.6671, allocations: 83.39 kB / 0.6427 GB, free: 3.785 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6671, allocations: 0 / 0.6427 GB, free: 3.785 MB / 478.1 MB Notification: Performance of Templates: time 0.02264/0.6897, allocations: 13.78 MB / 0.6562 GB, free: 6.098 MB / 494.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches