Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008544/0.0008544, allocations: 96.75 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008484/0.0008485, allocations: 175.6 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3321/0.3321, allocations: 43.55 MB / 314.5 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005228/0.0005228, allocations: 18.97 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3377/0.4583, allocations: 147 MB / 0.576 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.467, allocations: 6.745 MB / 0.5825 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.4676, allocations: 19.81 kB / 0.5826 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.4685, allocations: 262.7 kB / 0.5828 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.4722, allocations: 1.267 MB / 0.5841 GB, free: 412 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.474, allocations: 0.6106 MB / 0.5847 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.4759, allocations: 0.9218 MB / 0.5856 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005347/0.4764, allocations: 352.5 kB / 0.5859 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000916/0.4774, allocations: 0.4946 MB / 0.5864 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.4778, allocations: 338.7 kB / 0.5867 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.4779, allocations: 28 kB / 0.5867 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.4803, allocations: 1.178 MB / 0.5879 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.4805, allocations: 127.5 kB / 0.588 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.4806, allocations: 149.4 kB / 0.5881 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.4822, allocations: 1.073 MB / 0.5892 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.4822, allocations: 4 kB / 0.5892 GB, free: 11.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4822, allocations: 0 / 0.5892 GB, free: 11.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4822, allocations: 0 / 0.5892 GB, free: 11.15 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.001671/0.4839, allocations: 0.9443 MB / 0.5901 GB, free: 10.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.484, allocations: 12.03 kB / 0.5901 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.4849, allocations: 139.2 kB / 0.5903 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.4856, allocations: 460.8 kB / 0.5907 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.4856, allocations: 32.98 kB / 0.5907 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.4857, allocations: 40 kB / 0.5908 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.4866, allocations: 0.5945 MB / 0.5913 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4867, allocations: 0 / 0.5913 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.4867, allocations: 23.89 kB / 0.5914 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4867, allocations: 12 kB / 0.5914 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/0.4877, allocations: 483.6 kB / 0.5918 GB, free: 8.305 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.002866/0.4906, allocations: 2.678 MB / 0.5945 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.4913, allocations: 354.3 kB / 0.5948 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.4917, allocations: 332 kB / 0.5951 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4917, allocations: 42.84 kB / 0.5951 GB, free: 4.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.4918, allocations: 0 / 0.5951 GB, free: 4.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001606/0.4934, allocations: 0.731 MB / 0.5959 GB, free: 3.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.4935, allocations: 136.5 kB / 0.596 GB, free: 3.703 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.494, allocations: 490.1 kB / 0.5965 GB, free: 3.215 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.494, allocations: 33.7 kB / 0.5965 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4943, allocations: 283.7 kB / 0.5968 GB, free: 2.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.776e-05/0.4944, allocations: 118.4 kB / 0.5969 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.4944, allocations: 4 kB / 0.5969 GB, free: 2.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4946, allocations: 366.7 kB / 0.5972 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.4948, allocations: 152.8 kB / 0.5974 GB, free: 2.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.4952, allocations: 283.7 kB / 0.5976 GB, free: 1.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.4956, allocations: 189 kB / 0.5978 GB, free: 1.746 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4956, allocations: 0 / 0.5978 GB, free: 1.746 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009146/0.4965, allocations: 0.5481 MB / 0.5984 GB, free: 1.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4965, allocations: 8 kB / 0.5984 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4966, allocations: 7.938 kB / 0.5984 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.4981, allocations: 300.9 kB / 0.5987 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.4984, allocations: 105.2 kB / 0.5988 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004088/0.4988, allocations: 0.6023 MB / 0.5994 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.4992, allocations: 67.56 kB / 0.5994 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.4993, allocations: 47.98 kB / 0.5995 GB, free: 36 kB / 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.0002717/0.4996, allocations: 181.7 kB / 0.5996 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.4997, allocations: 59.34 kB / 0.5997 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.5012, allocations: 0.7349 MB / 0.6004 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5012, allocations: 7.953 kB / 0.6004 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5012, allocations: 0 / 0.6004 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5012, allocations: 3.984 kB / 0.6004 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.5026, allocations: 1.014 MB / 0.6014 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.5026, allocations: 4.031 kB / 0.6014 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.5028, allocations: 59.89 kB / 0.6015 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/0.506, allocations: 0.5315 MB / 0.602 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.506, allocations: 12 kB / 0.602 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004035/0.5065, allocations: 0.6108 MB / 0.6026 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5065, allocations: 4.031 kB / 0.6026 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.5073, allocations: 0.5863 MB / 0.6032 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.5075, allocations: 156.3 kB / 0.6033 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.5076, allocations: 8 kB / 0.6033 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.5079, allocations: 31.97 kB / 0.6034 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.508, allocations: 27.97 kB / 0.6034 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.508, allocations: 11.98 kB / 0.6034 GB, free: 11.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.5085, allocations: 390.8 kB / 0.6038 GB, free: 11.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5085, allocations: 0 / 0.6038 GB, free: 11.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008964/0.5094, allocations: 323.6 kB / 0.6041 GB, free: 11.09 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.0009196/0.5103, allocations: 456.4 kB / 0.6045 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008294/0.5111, allocations: 385 kB / 0.6049 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5112, allocations: 7.938 kB / 0.6049 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.5116, allocations: 179 kB / 0.6051 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5129, allocations: 279.4 kB / 0.6053 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.5145, allocations: 1.06 MB / 0.6064 GB, free: 8.723 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.515, allocations: 0.875 MB / 0.6072 GB, free: 7.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.516, allocations: 204.1 kB / 0.6074 GB, free: 7.629 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.5163, allocations: 75.36 kB / 0.6075 GB, free: 7.555 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5163, allocations: 0 / 0.6075 GB, free: 7.555 MB / 478.1 MB Notification: Performance of Templates: time 0.02524/0.5415, allocations: 14.64 MB / 0.6218 GB, free: 8.953 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches