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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009686/0.0009686, allocations: 103.4 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3564/0.3564, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3384, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5549/0.8933, allocations: 181.1 MB / 0.692 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006177/0.8995, allocations: 3.395 MB / 0.6953 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.9007, allocations: 21.28 kB / 0.6953 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.9018, allocations: 273.1 kB / 0.6956 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.9069, allocations: 1.234 MB / 0.6968 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.9095, allocations: 0.6639 MB / 0.6975 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.9124, allocations: 2.058 MB / 0.6995 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007358/0.9132, allocations: 363.8 kB / 0.6998 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.9143, allocations: 0.5373 MB / 0.7003 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007917/0.9151, allocations: 482.8 kB / 0.7008 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.9152, allocations: 29.81 kB / 0.7008 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.919, allocations: 1.11 MB / 0.7019 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.9194, allocations: 147 kB / 0.7021 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000681/0.9201, allocations: 334.9 kB / 0.7024 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.9241, allocations: 1.47 MB / 0.7038 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9241, allocations: 0 / 0.7038 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9241, allocations: 0 / 0.7038 GB, free: 1.426 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.9242, allocations: 4 kB / 0.7038 GB, free: 1.422 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.003161/0.9273, allocations: 1.055 MB / 0.7048 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.9274, allocations: 9.094 kB / 0.7049 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.9286, allocations: 142.8 kB / 0.705 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.9299, allocations: 489.4 kB / 0.7055 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.9299, allocations: 28.72 kB / 0.7055 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.93, allocations: 41.67 kB / 0.7055 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.9315, allocations: 0.5991 MB / 0.7061 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.9315, allocations: 0.625 kB / 0.7061 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-05/0.9316, allocations: 19.66 kB / 0.7061 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.9316, allocations: 11.22 kB / 0.7061 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.9328, allocations: 485.9 kB / 0.7066 GB, free: 16.36 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.004028/0.9368, allocations: 2.674 MB / 0.7092 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.9377, allocations: 354.8 kB / 0.7096 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.9381, allocations: 171.9 kB / 0.7097 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.9386, allocations: 431.6 kB / 0.7101 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.9387, allocations: 40.81 kB / 0.7102 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/0.9387, allocations: 0 / 0.7102 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.00207/0.9408, allocations: 0.7291 MB / 0.7109 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.9409, allocations: 138.5 kB / 0.711 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.9417, allocations: 491.9 kB / 0.7115 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.9417, allocations: 35.73 kB / 0.7115 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.942, allocations: 289.2 kB / 0.7118 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.9421, allocations: 114.8 kB / 0.7119 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.9423, allocations: 103.4 kB / 0.712 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.9425, allocations: 366.5 kB / 0.7123 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.9428, allocations: 145.9 kB / 0.7125 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.9433, allocations: 283.7 kB / 0.7128 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/0.9441, allocations: 438.2 kB / 0.7132 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.9441, allocations: 0.75 kB / 0.7132 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001217/0.9454, allocations: 0.5523 MB / 0.7137 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.9454, allocations: 9.938 kB / 0.7137 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9454, allocations: 6.719 kB / 0.7137 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.947, allocations: 242.5 kB / 0.714 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.9474, allocations: 105.7 kB / 0.7141 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005237/0.948, allocations: 0.5941 MB / 0.7146 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.9485, allocations: 68.52 kB / 0.7147 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.9486, allocations: 49.92 kB / 0.7148 GB, free: 12.05 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.0003082/0.949, allocations: 180.7 kB / 0.7149 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.9491, allocations: 50.66 kB / 0.715 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.9515, allocations: 1.095 MB / 0.716 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.9515, allocations: 3.594 kB / 0.716 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9515, allocations: 0.5625 kB / 0.7161 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.9515, allocations: 2.953 kB / 0.7161 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.9536, allocations: 1.029 MB / 0.7171 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.9536, allocations: 0 / 0.7171 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.9538, allocations: 55.25 kB / 0.7171 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/0.9569, allocations: 452.6 kB / 0.7175 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.957, allocations: 16.34 kB / 0.7176 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005172/0.9575, allocations: 0.6031 MB / 0.7181 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.9575, allocations: 6.281 kB / 0.7182 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.9592, allocations: 1.326 MB / 0.7194 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.9594, allocations: 134.4 kB / 0.7196 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.9595, allocations: 9.547 kB / 0.7196 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.9599, allocations: 37.28 kB / 0.7196 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.96, allocations: 28.89 kB / 0.7196 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.9601, allocations: 17.16 kB / 0.7197 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006511/0.9607, allocations: 424.4 kB / 0.7201 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9607, allocations: 0 / 0.7201 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001591/0.9623, allocations: 291.7 kB / 0.7203 GB, free: 9.719 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.001042/0.9634, allocations: 374.8 kB / 0.7207 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009613/0.9643, allocations: 378.7 kB / 0.7211 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9644, allocations: 3.609 kB / 0.7211 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.9647, allocations: 162.1 kB / 0.7212 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.9665, allocations: 339.8 kB / 0.7215 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.9685, allocations: 1.303 MB / 0.7228 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.9689, allocations: 0.8598 MB / 0.7237 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00127/0.9702, allocations: 0.563 MB / 0.7242 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.9705, allocations: 83.25 kB / 0.7243 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.9705, allocations: 0 / 0.7243 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.02635/0.9968, allocations: 15.67 MB / 0.7396 GB, free: 2.348 MB / 0.4948 GB 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@2/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