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.001208/0.001208, allocations: 115.9 kB / 17.09 MB, free: 5.984 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.001089/0.001089, allocations: 189.3 kB / 18.01 MB, free: 5.074 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.47/1.47, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 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.001452/0.001452, allocations: 59.91 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4809/0.6038, allocations: 190 MB / 0.6741 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009682/0.6135, allocations: 5.712 MB / 0.6797 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009808/0.6145, allocations: 15.88 kB / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.6159, allocations: 313.8 kB / 0.68 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.6214, allocations: 1.633 MB / 0.6816 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.6237, allocations: 0.7336 MB / 0.6823 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.6261, allocations: 1.544 MB / 0.6838 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008848/0.627, allocations: 431.4 kB / 0.6842 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.6283, allocations: 0.5839 MB / 0.6848 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.6292, allocations: 466 kB / 0.6853 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.6294, allocations: 52 kB / 0.6853 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.6329, allocations: 1.404 MB / 0.6867 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.6332, allocations: 151.5 kB / 0.6868 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008251/0.634, allocations: 354.4 kB / 0.6872 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.638, allocations: 1.617 MB / 0.6887 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.638, allocations: 8 kB / 0.6887 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.638, allocations: 0 / 0.6887 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.638, allocations: 0 / 0.6887 GB, free: 13.41 MB / 0.5294 GB 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.002592/0.6406, allocations: 1.086 MB / 0.6898 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6407, allocations: 8.031 kB / 0.6898 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.642, allocations: 139.2 kB / 0.6899 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009656/0.643, allocations: 0.5004 MB / 0.6904 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.643, allocations: 33 kB / 0.6905 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.6431, allocations: 40 kB / 0.6905 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.6443, allocations: 0.5944 MB / 0.6911 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.6443, allocations: 0 / 0.6911 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.6444, allocations: 24 kB / 0.6911 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.6445, allocations: 12 kB / 0.6911 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.6454, allocations: 475.6 kB / 0.6916 GB, free: 10.39 MB / 0.5294 GB 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.003455/0.6489, allocations: 2.694 MB / 0.6942 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.6497, allocations: 354 kB / 0.6945 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.65, allocations: 176.8 kB / 0.6947 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.6513, allocations: 1.304 MB / 0.696 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.6513, allocations: 38.84 kB / 0.696 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.896e-06/0.6514, allocations: 0 / 0.696 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001768/0.6531, allocations: 0.7259 MB / 0.6967 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.6532, allocations: 136.5 kB / 0.6969 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.6538, allocations: 498 kB / 0.6973 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.6539, allocations: 29.7 kB / 0.6974 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.6541, allocations: 283.9 kB / 0.6976 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.6542, allocations: 114.2 kB / 0.6977 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.6544, allocations: 102.1 kB / 0.6978 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6546, allocations: 362.8 kB / 0.6982 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.6549, allocations: 152.8 kB / 0.6983 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.6553, allocations: 283.6 kB / 0.6986 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.6562, allocations: 445.6 kB / 0.699 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.6562, allocations: 0 / 0.699 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001272/0.6574, allocations: 0.5327 MB / 0.6995 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6575, allocations: 11.94 kB / 0.6996 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6575, allocations: 4 kB / 0.6996 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.6592, allocations: 240.8 kB / 0.6998 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.6595, allocations: 103.8 kB / 0.6999 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006236/0.6602, allocations: 0.5953 MB / 0.7005 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.6606, allocations: 47.53 kB / 0.7005 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/0.6607, allocations: 43.98 kB / 0.7006 GB, free: 0.4922 MB / 0.5294 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.000478/0.6612, allocations: 185.6 kB / 0.7007 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.6614, allocations: 55.34 kB / 0.7008 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.663, allocations: 0.7321 MB / 0.7015 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.6631, allocations: 0 / 0.7015 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6631, allocations: 12.44 kB / 0.7015 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.6631, allocations: 3.984 kB / 0.7015 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.6651, allocations: 1.034 MB / 0.7025 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.6651, allocations: 4 kB / 0.7025 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.6653, allocations: 52.66 kB / 0.7026 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003219/0.6685, allocations: 456.3 kB / 0.703 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.6686, allocations: 8 kB / 0.703 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006607/0.6693, allocations: 0.6109 MB / 0.7036 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6693, allocations: 0 / 0.7036 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.6703, allocations: 0.5119 MB / 0.7041 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.6706, allocations: 136.3 kB / 0.7042 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6707, allocations: 11.91 kB / 0.7043 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.6712, allocations: 19.98 kB / 0.7043 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.6713, allocations: 31.84 kB / 0.7043 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.6713, allocations: 19.98 kB / 0.7043 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006286/0.672, allocations: 418.8 kB / 0.7047 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.672, allocations: 4 kB / 0.7047 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001256/0.6732, allocations: 315.8 kB / 0.705 GB, free: 11.71 MB / 0.545 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.001462/0.6747, allocations: 455.7 kB / 0.7055 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.6757, allocations: 385 kB / 0.7058 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6758, allocations: 0 / 0.7058 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.6762, allocations: 171.8 kB / 0.706 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.6782, allocations: 363.1 kB / 0.7063 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.6802, allocations: 0.9294 MB / 0.7073 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.6808, allocations: 0.8518 MB / 0.7081 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.6811, allocations: 95.41 kB / 0.7082 GB, free: 8.414 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.6811, allocations: 4 kB / 0.7082 GB, free: 8.41 MB / 0.545 GB Notification: Performance of Templates: time 0.0265/0.7076, allocations: 15.14 MB / 0.723 GB, free: 9.266 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches