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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 83.67 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.959e-05, allocations: 2.281 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.406/0.406, allocations: 161.6 MB / 0.5901 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005989/0.412, allocations: 3.034 MB / 0.5931 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006741/0.4127, allocations: 23.75 kB / 0.5931 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.4137, allocations: 313.7 kB / 0.5934 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.4179, allocations: 1.465 MB / 0.5949 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.4202, allocations: 0.7585 MB / 0.5956 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.4229, allocations: 1.578 MB / 0.5971 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/0.4237, allocations: 360.9 kB / 0.5975 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.4252, allocations: 0.8065 MB / 0.5983 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.426, allocations: 410.8 kB / 0.5987 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4261, allocations: 52 kB / 0.5987 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.4286, allocations: 0.9123 MB / 0.5996 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.4289, allocations: 171.3 kB / 0.5998 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.4293, allocations: 247.5 kB / 0.6 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.4318, allocations: 1.558 MB / 0.6015 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4318, allocations: 0 / 0.6015 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4318, allocations: 0 / 0.6015 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.4318, allocations: 0 / 0.6015 GB, free: 8.344 MB / 0.4981 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.002197/0.434, allocations: 0.9983 MB / 0.6025 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4341, allocations: 9.844 kB / 0.6025 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.4351, allocations: 143.5 kB / 0.6026 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009941/0.4361, allocations: 446 kB / 0.6031 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.4362, allocations: 33 kB / 0.6031 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.4362, allocations: 36 kB / 0.6031 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.4377, allocations: 0.8958 MB / 0.604 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4377, allocations: 3.938 kB / 0.604 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.4378, allocations: 20 kB / 0.604 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4378, allocations: 8 kB / 0.604 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4389, allocations: 491.5 kB / 0.6045 GB, free: 5.117 MB / 0.4981 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.003037/0.4419, allocations: 1.892 MB / 0.6064 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008424/0.4428, allocations: 319.6 kB / 0.6067 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.4431, allocations: 155.2 kB / 0.6068 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.4434, allocations: 56.17 kB / 0.6069 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4434, allocations: 38.84 kB / 0.6069 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.484e-06/0.4434, allocations: 0 / 0.6069 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00197/0.4454, allocations: 0.6476 MB / 0.6075 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.4455, allocations: 140.5 kB / 0.6077 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.4461, allocations: 429.8 kB / 0.6081 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.4462, allocations: 33.7 kB / 0.6081 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.4465, allocations: 292.3 kB / 0.6084 GB, free: 1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4466, allocations: 123 kB / 0.6085 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4468, allocations: 110.1 kB / 0.6086 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.447, allocations: 350.8 kB / 0.6089 GB, free: 424 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.4474, allocations: 148.9 kB / 0.6091 GB, free: 276 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.4479, allocations: 361.5 kB / 0.6094 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/0.4488, allocations: 437.6 kB / 0.6098 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4488, allocations: 4 kB / 0.6098 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001224/0.45, allocations: 0.5422 MB / 0.6104 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.45, allocations: 11.94 kB / 0.6104 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.45, allocations: 4.438 kB / 0.6104 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.4517, allocations: 248.5 kB / 0.6106 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.4522, allocations: 107.8 kB / 0.6107 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006419/0.4528, allocations: 0.5953 MB / 0.6113 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.4531, allocations: 39.72 kB / 0.6114 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/0.4532, allocations: 47.98 kB / 0.6114 GB, free: 13.74 MB / 0.5137 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.0003112/0.4535, allocations: 181.7 kB / 0.6116 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4537, allocations: 55.66 kB / 0.6116 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.4559, allocations: 1.101 MB / 0.6127 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4559, allocations: 4 kB / 0.6127 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4559, allocations: 0 / 0.6127 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4559, allocations: 0 / 0.6127 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4575, allocations: 0.8827 MB / 0.6136 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4575, allocations: 0 / 0.6136 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4578, allocations: 55.91 kB / 0.6136 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/0.4612, allocations: 444.3 kB / 0.614 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.4613, allocations: 12 kB / 0.6141 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000638/0.4619, allocations: 0.6054 MB / 0.6146 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4619, allocations: 4.031 kB / 0.6146 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.463, allocations: 0.4966 MB / 0.6151 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4631, allocations: 51.64 kB / 0.6152 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.4632, allocations: 15.89 kB / 0.6152 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.4636, allocations: 15.98 kB / 0.6152 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.4637, allocations: 31.89 kB / 0.6152 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.4637, allocations: 12 kB / 0.6153 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005669/0.4643, allocations: 343.1 kB / 0.6156 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4643, allocations: 0 / 0.6156 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001039/0.4653, allocations: 295.2 kB / 0.6159 GB, free: 9.035 MB / 0.5137 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.001055/0.4664, allocations: 390.2 kB / 0.6162 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.4674, allocations: 367.9 kB / 0.6166 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4674, allocations: 4 kB / 0.6166 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.4678, allocations: 153 kB / 0.6167 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.4694, allocations: 284.1 kB / 0.617 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.4711, allocations: 0.8637 MB / 0.6179 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4714, allocations: 263.1 kB / 0.6181 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001092/0.4725, allocations: 0.5427 MB / 0.6186 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.4728, allocations: 96.39 kB / 0.6187 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/0.4728, allocations: 0 / 0.6187 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of Templates: time 0.0272/0.5, allocations: 14.47 MB / 0.6329 GB, free: 7.758 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.1394454427063465]