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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 108.1 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3447/0.3447, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.91 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3858, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5381/0.9239, allocations: 181 MB / 0.6832 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004982/0.929, allocations: 3.384 MB / 0.6865 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007982/0.9299, allocations: 21.75 kB / 0.6865 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.9308, allocations: 275.8 kB / 0.6868 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.9344, allocations: 1.236 MB / 0.688 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.9363, allocations: 0.6624 MB / 0.6886 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.9389, allocations: 2.053 MB / 0.6906 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/0.9395, allocations: 361.5 kB / 0.691 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.9406, allocations: 0.5322 MB / 0.6915 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006099/0.9412, allocations: 478.1 kB / 0.692 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.9413, allocations: 29.72 kB / 0.692 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.9437, allocations: 1.116 MB / 0.6931 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.9439, allocations: 143.3 kB / 0.6932 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.9443, allocations: 335.2 kB / 0.6935 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.9463, allocations: 1.472 MB / 0.695 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9463, allocations: 2.25 kB / 0.695 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.9464, allocations: 0 / 0.695 GB, free: 1.512 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.9464, allocations: 0 / 0.695 GB, free: 1.512 MB / 490.7 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.001845/0.9482, allocations: 1.053 MB / 0.696 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.9483, allocations: 9.531 kB / 0.696 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009555/0.9492, allocations: 141.2 kB / 0.6962 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.9499, allocations: 481.4 kB / 0.6966 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.95, allocations: 33.98 kB / 0.6966 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.95, allocations: 40.84 kB / 0.6967 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.951, allocations: 0.5977 MB / 0.6973 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.9511, allocations: 9.734 kB / 0.6973 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.9511, allocations: 20.53 kB / 0.6973 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.9511, allocations: 10.5 kB / 0.6973 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.952, allocations: 484.2 kB / 0.6978 GB, free: 16.45 MB / 0.4948 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.002909/0.9549, allocations: 2.671 MB / 0.7004 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.9556, allocations: 350.6 kB / 0.7007 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.9559, allocations: 167.6 kB / 0.7009 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.9564, allocations: 442 kB / 0.7013 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.9564, allocations: 36.88 kB / 0.7013 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/0.9564, allocations: 0 / 0.7013 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001683/0.9581, allocations: 0.7362 MB / 0.702 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.9582, allocations: 134.8 kB / 0.7022 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.9588, allocations: 497.8 kB / 0.7026 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.9588, allocations: 34.86 kB / 0.7027 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.959, allocations: 281.9 kB / 0.7029 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.9591, allocations: 112 kB / 0.7031 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.9593, allocations: 107.9 kB / 0.7032 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9594, allocations: 369.4 kB / 0.7035 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.9597, allocations: 144.5 kB / 0.7036 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.9601, allocations: 283.7 kB / 0.7039 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.9608, allocations: 442.2 kB / 0.7043 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.9609, allocations: 2.969 kB / 0.7043 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001077/0.9619, allocations: 0.5435 MB / 0.7049 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.962, allocations: 8.031 kB / 0.7049 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.962, allocations: 4.047 kB / 0.7049 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.9635, allocations: 239 kB / 0.7051 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.9639, allocations: 105.2 kB / 0.7052 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004833/0.9644, allocations: 0.6017 MB / 0.7058 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.9648, allocations: 65.31 kB / 0.7059 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.9649, allocations: 45.03 kB / 0.7059 GB, free: 12.16 MB / 0.4948 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.0002881/0.9652, allocations: 188.4 kB / 0.7061 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.9653, allocations: 52.81 kB / 0.7061 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.9678, allocations: 1.1 MB / 0.7072 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.9678, allocations: 3.094 kB / 0.7072 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9678, allocations: 2.344 kB / 0.7072 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.9678, allocations: 1.125 kB / 0.7072 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.9696, allocations: 1.035 MB / 0.7082 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.9696, allocations: 2.156 kB / 0.7082 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.9698, allocations: 52.89 kB / 0.7083 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/0.9732, allocations: 445.1 kB / 0.7087 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.9732, allocations: 9.984 kB / 0.7087 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005048/0.9737, allocations: 0.6168 MB / 0.7093 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9737, allocations: 2.25 kB / 0.7093 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.9755, allocations: 1.318 MB / 0.7106 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.9758, allocations: 137.2 kB / 0.7107 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.9759, allocations: 9.078 kB / 0.7107 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.9763, allocations: 36.05 kB / 0.7108 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.9764, allocations: 26.17 kB / 0.7108 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.9765, allocations: 17.56 kB / 0.7108 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006263/0.9771, allocations: 419.7 kB / 0.7112 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9771, allocations: 0 / 0.7112 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001185/0.9783, allocations: 294.5 kB / 0.7115 GB, free: 9.812 MB / 0.4948 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.001034/0.9793, allocations: 373.8 kB / 0.7119 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.9804, allocations: 367.6 kB / 0.7122 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.9804, allocations: 6.312 kB / 0.7122 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.9808, allocations: 167.7 kB / 0.7124 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.9828, allocations: 346.6 kB / 0.7127 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.9848, allocations: 1.3 MB / 0.714 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.9854, allocations: 0.866 MB / 0.7148 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00156/0.987, allocations: 0.5468 MB / 0.7154 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.9873, allocations: 92.42 kB / 0.7154 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of SimCode: time 8.12e-07/0.9873, allocations: 1.031 kB / 0.7154 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of Templates: time 0.02732/1.015, allocations: 15.63 MB / 0.7307 GB, free: 3.16 MB / 0.4948 GB 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@2/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