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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 217 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1975/0.1975, allocations: 44.23 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 79.88 kB / 468.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1078, allocations: 61.02 MB / 0.5174 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4/0.5078, allocations: 191 MB / 0.7039 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008314/0.5162, allocations: 5.773 MB / 0.7095 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.5167, allocations: 19.81 kB / 0.7095 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009247/0.5176, allocations: 337.7 kB / 0.7099 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.5218, allocations: 1.662 MB / 0.7115 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.5236, allocations: 0.7495 MB / 0.7122 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.5257, allocations: 1.567 MB / 0.7137 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.5264, allocations: 351.8 kB / 0.7141 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.5274, allocations: 0.5917 MB / 0.7147 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.5283, allocations: 0.4902 MB / 0.7151 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.5284, allocations: 52 kB / 0.7152 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.5311, allocations: 1.435 MB / 0.7166 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.5313, allocations: 163.4 kB / 0.7167 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.5318, allocations: 342.5 kB / 0.7171 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.5344, allocations: 1.628 MB / 0.7187 GB, free: 5.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5344, allocations: 0 / 0.7187 GB, free: 5.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5344, allocations: 3.938 kB / 0.7187 GB, free: 5.336 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.5345, allocations: 7.984 kB / 0.7187 GB, free: 5.328 MB / 0.545 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.002092/0.5366, allocations: 1.041 MB / 0.7197 GB, free: 4.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.5366, allocations: 11.97 kB / 0.7197 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5376, allocations: 143.5 kB / 0.7198 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/0.5385, allocations: 437.6 kB / 0.7203 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.5385, allocations: 37 kB / 0.7203 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.5386, allocations: 40 kB / 0.7203 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5397, allocations: 0.5906 MB / 0.7209 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5397, allocations: 4 kB / 0.7209 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.5397, allocations: 24 kB / 0.7209 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5397, allocations: 8 kB / 0.7209 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.5406, allocations: 487.5 kB / 0.7214 GB, free: 2.426 MB / 0.545 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.003158/0.5438, allocations: 2.662 MB / 0.724 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.5445, allocations: 323.5 kB / 0.7243 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.5448, allocations: 153.4 kB / 0.7245 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009064/0.5457, allocations: 410.4 kB / 0.7249 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5457, allocations: 42.84 kB / 0.7249 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.5457, allocations: 0 / 0.7249 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001628/0.5474, allocations: 0.6595 MB / 0.7255 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.5474, allocations: 136.5 kB / 0.7257 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.548, allocations: 494.1 kB / 0.7261 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.5481, allocations: 29.7 kB / 0.7262 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.5483, allocations: 296.2 kB / 0.7264 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.5484, allocations: 122.9 kB / 0.7266 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.5485, allocations: 98.11 kB / 0.7267 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5487, allocations: 358.8 kB / 0.727 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.549, allocations: 156.7 kB / 0.7272 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.5494, allocations: 275.7 kB / 0.7274 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.5501, allocations: 440.7 kB / 0.7278 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5501, allocations: 0 / 0.7278 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009846/0.5511, allocations: 0.5409 MB / 0.7284 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5511, allocations: 13.03 kB / 0.7284 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5511, allocations: 4 kB / 0.7284 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.5526, allocations: 242.4 kB / 0.7286 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.5529, allocations: 99.89 kB / 0.7287 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004985/0.5534, allocations: 0.5992 MB / 0.7293 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.5537, allocations: 51.69 kB / 0.7293 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.5538, allocations: 43.98 kB / 0.7294 GB, free: 9.809 MB / 0.5606 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.0002486/0.554, allocations: 185.7 kB / 0.7296 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5542, allocations: 55.67 kB / 0.7296 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.5556, allocations: 0.7399 MB / 0.7303 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5556, allocations: 4 kB / 0.7303 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5556, allocations: 0 / 0.7303 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5556, allocations: 3.984 kB / 0.7303 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.5571, allocations: 1.014 MB / 0.7313 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5571, allocations: 0 / 0.7313 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.5573, allocations: 51.91 kB / 0.7314 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/0.5603, allocations: 448.3 kB / 0.7318 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5604, allocations: 11.98 kB / 0.7318 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004779/0.5608, allocations: 0.6109 MB / 0.7324 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5608, allocations: 0 / 0.7324 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.5617, allocations: 0.5164 MB / 0.7329 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5618, allocations: 67.48 kB / 0.733 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.5619, allocations: 8 kB / 0.733 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.5622, allocations: 15.98 kB / 0.733 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.5623, allocations: 35.89 kB / 0.733 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.5623, allocations: 17.12 kB / 0.7331 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005064/0.5628, allocations: 422.8 kB / 0.7335 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5628, allocations: 0 / 0.7335 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008498/0.5637, allocations: 323.2 kB / 0.7338 GB, free: 5.156 MB / 0.5606 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.001022/0.5647, allocations: 457.4 kB / 0.7342 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008398/0.5655, allocations: 375.8 kB / 0.7346 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5655, allocations: 0 / 0.7346 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.5659, allocations: 148.8 kB / 0.7347 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.5674, allocations: 362.2 kB / 0.7351 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.5688, allocations: 0.9496 MB / 0.736 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.5693, allocations: 0.8636 MB / 0.7368 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.5695, allocations: 99.41 kB / 0.7369 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5695, allocations: 0 / 0.7369 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of Templates: time 0.02084/0.5904, allocations: 15.17 MB / 0.7517 GB, free: 2.684 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.173380848951638]