Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 96.56 kB / 16.99 MB, free: 5.941 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.0009988/0.0009989, allocations: 180.8 kB / 17.87 MB, free: 5.609 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.361/1.361, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2037/0.2037, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 8 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.446/0.5782, allocations: 147 MB / 0.604 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.5848, allocations: 3.847 MB / 0.6077 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/0.5855, allocations: 19.88 kB / 0.6077 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.5863, allocations: 254.7 kB / 0.608 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.5894, allocations: 1.084 MB / 0.6091 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.5911, allocations: 0.5969 MB / 0.6096 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.5929, allocations: 0.9262 MB / 0.6105 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/0.5935, allocations: 351.9 kB / 0.6109 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009095/0.5944, allocations: 0.4946 MB / 0.6114 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.5948, allocations: 330.8 kB / 0.6117 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.5949, allocations: 28 kB / 0.6117 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.597, allocations: 1.034 MB / 0.6127 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.5972, allocations: 127.6 kB / 0.6128 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.5973, allocations: 149.4 kB / 0.613 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.5987, allocations: 1.012 MB / 0.614 GB, free: 4.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5987, allocations: 4 kB / 0.614 GB, free: 4.656 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5987, allocations: 0 / 0.614 GB, free: 4.656 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.5987, allocations: 0 / 0.614 GB, free: 4.656 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001607/0.6003, allocations: 0.8999 MB / 0.6148 GB, free: 3.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.6004, allocations: 12.03 kB / 0.6149 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.6013, allocations: 147 kB / 0.615 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.602, allocations: 456.7 kB / 0.6154 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.602, allocations: 29 kB / 0.6155 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.6021, allocations: 44 kB / 0.6155 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/0.6031, allocations: 0.6015 MB / 0.6161 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6031, allocations: 0 / 0.6161 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.6032, allocations: 24 kB / 0.6161 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.6032, allocations: 8 kB / 0.6161 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000966/0.6042, allocations: 491.6 kB / 0.6166 GB, free: 1.844 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.003/0.6072, allocations: 2.674 MB / 0.6192 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.6079, allocations: 351.5 kB / 0.6195 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.6084, allocations: 429.8 kB / 0.6199 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.6084, allocations: 46.83 kB / 0.62 GB, free: 14.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.6085, allocations: 0 / 0.62 GB, free: 14.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001621/0.6101, allocations: 0.7393 MB / 0.6207 GB, free: 13.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.6102, allocations: 136.5 kB / 0.6208 GB, free: 13.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.6107, allocations: 486.1 kB / 0.6213 GB, free: 12.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.6108, allocations: 37.7 kB / 0.6213 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.611, allocations: 279.8 kB / 0.6216 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6111, allocations: 126.2 kB / 0.6217 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.6111, allocations: 8 kB / 0.6217 GB, free: 12.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6113, allocations: 354.8 kB / 0.6221 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.6116, allocations: 156.8 kB / 0.6222 GB, free: 11.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.612, allocations: 295.6 kB / 0.6225 GB, free: 11.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.6124, allocations: 189 kB / 0.6227 GB, free: 11.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6124, allocations: 0 / 0.6227 GB, free: 11.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00094/0.6133, allocations: 0.5443 MB / 0.6232 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6134, allocations: 8 kB / 0.6232 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6134, allocations: 4 kB / 0.6232 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.6149, allocations: 293 kB / 0.6235 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.6153, allocations: 111.8 kB / 0.6236 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/0.6158, allocations: 0.5991 MB / 0.6242 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.6162, allocations: 67.56 kB / 0.6243 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.6163, allocations: 43.98 kB / 0.6243 GB, free: 9.434 MB / 462.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.0003514/0.6167, allocations: 186.2 kB / 0.6245 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.6168, allocations: 55.34 kB / 0.6245 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.6189, allocations: 1.11 MB / 0.6256 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6189, allocations: 11.92 kB / 0.6256 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6189, allocations: 0 / 0.6256 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6189, allocations: 3.984 kB / 0.6256 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.6205, allocations: 1.022 MB / 0.6266 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6205, allocations: 0 / 0.6266 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6207, allocations: 60.06 kB / 0.6267 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/0.624, allocations: 0.5432 MB / 0.6272 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.6241, allocations: 8 kB / 0.6272 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/0.6247, allocations: 0.6069 MB / 0.6278 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6247, allocations: 8.016 kB / 0.6278 GB, free: 5.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.6256, allocations: 0.5707 MB / 0.6284 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.6259, allocations: 156.3 kB / 0.6285 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.626, allocations: 8 kB / 0.6285 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.6263, allocations: 35.91 kB / 0.6286 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.6264, allocations: 31.92 kB / 0.6286 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.6265, allocations: 19.98 kB / 0.6286 GB, free: 4.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.627, allocations: 382.8 kB / 0.629 GB, free: 4.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.627, allocations: 0 / 0.629 GB, free: 4.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001034/0.628, allocations: 291.6 kB / 0.6293 GB, free: 4.125 MB / 462.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.0008877/0.6289, allocations: 385.8 kB / 0.6296 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008338/0.6298, allocations: 375.6 kB / 0.63 GB, free: 3.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6298, allocations: 4 kB / 0.63 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.6301, allocations: 169 kB / 0.6302 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6315, allocations: 283 kB / 0.6304 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.6331, allocations: 1.089 MB / 0.6315 GB, free: 1.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.6335, allocations: 0.8789 MB / 0.6324 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001206/0.6347, allocations: 0.5453 MB / 0.6329 GB, free: 372 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.635, allocations: 83.39 kB / 0.633 GB, free: 288 kB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.635, allocations: 0 / 0.633 GB, free: 288 kB / 462.1 MB Notification: Performance of Templates: time 0.02432/0.6593, allocations: 13.73 MB / 0.6464 GB, free: 2.672 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches